Lines Matching refs:SkScalar
10 static SkScalar eval_cubic(SkScalar c1, SkScalar c2, SkScalar c3,
11 SkScalar t) {
15 static SkScalar find_cubic_t(SkScalar c1, SkScalar c2, SkScalar c3,
16 SkScalar targetX) {
17 SkScalar minT = 0;
18 SkScalar maxT = SK_Scalar1;
19 SkScalar t;
23 SkScalar x = eval_cubic(c1, c2, c3, t);
49 SkScalar SkEvalCubicInterval(SkScalar x1, SkScalar y1,
50 SkScalar x2, SkScalar y2,
51 SkScalar unitX) {
61 SkScalar t = find_cubic_t(x1, x2 - 2*x1, x1 - x2 + SK_Scalar1, unitX);