Lines Matching full:tmid
94 SkScalar tMid = (tPos + tNeg) / 2;
95 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], tMid);
96 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], tMid);
97 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], tMid);
98 SkScalar y012 = SkScalarInterp(y01, y12, tMid);
99 SkScalar y123 = SkScalarInterp(y12, y23, tMid);
100 SkScalar y0123 = SkScalarInterp(y012, y123, tMid);
102 *t = tMid;
105 if (y0123 < 0) tNeg = tMid;
106 else tPos = tMid;