Lines Matching refs:conic
86 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() argument
88 conic.evalAt(t, &p0, nullptr); in test_conic_eval_pos()
89 p1 = conic.evalAt(t); in test_conic_eval_pos()
93 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() argument
95 conic.evalAt(t, nullptr, &v0); in test_conic_eval_tan()
96 v1 = conic.evalTangentAt(t); in test_conic_eval_tan()
109 SkConic conic(pts, w); in test_conic() local
114 test_conic_eval_pos(reporter, conic, t); in test_conic()
115 test_conic_eval_tan(reporter, conic, t); in test_conic()
130 SkConic conic(&pts[index * 3], 0.707f); in test_quad_tangents() local
150 SkConic conic(&pts[index * 3], 0.707f); in test_conic_tangents() local
151 SkVector start = conic.evalTangentAt(0); in test_conic_tangents()
152 SkVector mid = conic.evalTangentAt(.5f); in test_conic_tangents()
153 SkVector end = conic.evalTangentAt(1); in test_conic_tangents()
209 SkConic conic(&pts[index * 3], 0.707f); in test_cubic_tangents() local