Lines Matching refs:conic
154 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() argument
156 conic.evalAt(t, &p0, nullptr); in test_conic_eval_pos()
157 p1 = conic.evalAt(t); in test_conic_eval_pos()
161 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() argument
163 conic.evalAt(t, nullptr, &v0); in test_conic_eval_tan()
164 v1 = conic.evalTangentAt(t); in test_conic_eval_tan()
177 SkConic conic(pts, w); in test_conic() local
182 test_conic_eval_pos(reporter, conic, t); in test_conic()
183 test_conic_eval_tan(reporter, conic, t); in test_conic()
198 SkConic conic(&pts[index * 3], 0.707f); in test_quad_tangents() local
218 SkConic conic(&pts[index * 3], 0.707f); in test_conic_tangents() local
219 SkVector start = conic.evalTangentAt(0); in test_conic_tangents()
220 SkVector mid = conic.evalTangentAt(.5f); in test_conic_tangents()
221 SkVector end = conic.evalTangentAt(1); in test_conic_tangents()
274 SkConic conic(&pts[index * 3], 0.707f); in test_cubic_tangents() local