52 {
54 {{ 0, 0 }, { 0, 0 }, { 10, 10 }, { 10, 10 }},
55 0.1234,
56 { 0.4192451819200000, 0.4192451819200000 });
57
59 {{ 0, 0 }, { 5, 5 }, { 5, 5 }, { 10, 10 }},
60 0.2345,
61 { 2.8215983862500000, 2.8215983862500000 });
62
64 {{ -10, -20 }, { -7, 5 }, { 14, -2 }, { 3, 13 }},
65 0.0,
66 { -10, -20 });
67
69 {{ -10, -20 }, { -7, 5 }, { 14, -2 }, { 3, 13 }},
70 0.3456,
71 { -2.503786700800000, -3.31715344793600 });
72
74 {{ -10, -20 }, { -7, 5 }, { 14, -2 }, { 3, 13 }},
75 0.5,
76 { 1.75, 0.25 });
77
79 {{ -10, -20 }, { -7, 5 }, { 14, -2 }, { 3, 13 }},
80 0.7891,
81 { 6.158763291450000, 5.938550084434000 });
82
84 {{ -10, -20 }, { -7, 5 }, { 14, -2 }, { 3, 13 }},
85 1.0,
86 { 3, 13 });
87}
static void testCubicEvalAtT(skiatest::Reporter *reporter, const std::string &name, SkSpan< const DoublePoint > curveInputs, double t, const DoublePoint &expectedXY)