Lines Matching refs:conic
75 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) {
77 conic.evalAt(t, &p0, nullptr);
78 p1 = conic.evalAt(t);
79 check_pairs(reporter, 0, t, "conic-pos", p0.fX, p0.fY, p1.fX, p1.fY);
82 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) {
84 conic.evalAt(t, nullptr, &v0);
85 v1 = conic.evalTangentAt(t);
86 check_pairs(reporter, 0, t, "conic-tan", v0.fX, v0.fY, v1.fX, v1.fY);
98 SkConic conic(pts, w);
103 test_conic_eval_pos(reporter, conic, t);
104 test_conic_eval_tan(reporter, conic, t);
119 SkConic conic(&pts[index * 3], 0.707f);
139 SkConic conic(&pts[index * 3], 0.707f);
140 SkVector start = conic.evalTangentAt(0);
141 SkVector mid = conic.evalTangentAt(.5f);
142 SkVector end = conic.evalTangentAt(1);
161 * We need to ensure that when a conic is approximated by quads, that we always return finite
198 SkConic conic(&pts[index * 3], 0.707f);