Lines Matching refs:cubic
54 static double binary_search(const SkDCubic& cubic, double step, const SkDPoint& pt, double t, in binary_search() argument
59 SkDPoint cubicAtT = cubic.ptAtT(t); in binary_search()
68 cubic.dump(); in binary_search()
76 SkDPoint lessPt = cubic.ptAtT(t - lastStep); in binary_search()
85 SkDPoint morePt = cubic.ptAtT(t + lastStep); in binary_search()
155 SkDCubic cubic; in DEF_TEST() local
156 cubic.debugSet(cuPts.fPts); in DEF_TEST()
157 SkDPoint pt = cubic.ptAtT(t); in DEF_TEST()
161 SkDCubic::Coefficients(&cubic[0].fY, &A, &B, &C, &D); in DEF_TEST()
173 SkDPoint calcPt = cubic.ptAtT(t); in DEF_TEST()
221 double newT = binary_search(cubic, step, pt, t, &iters); in DEF_TEST()
232 cubic.dump(); in DEF_TEST()
254 SkDCubic cubic; in testOneFailure() local
255 cubic.debugSet(c.fPts); in testOneFailure()
258 SkDCubic::Coefficients(&cubic[0].fY, &A, &B, &C, &D); in testOneFailure()
266 SkDPoint calcPt = cubic.ptAtT(t); in testOneFailure()
269 double newT = binary_search(cubic, 0.1, pt, t, &iters); in testOneFailure()