Searched refs:tMid (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/core/ |
D | SkCubicClipper.cpp | 86 SkScalar tMid = (tPos + tNeg) / 2; in ChopMonoAtY() local 87 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], tMid); in ChopMonoAtY() 88 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], tMid); in ChopMonoAtY() 89 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], tMid); in ChopMonoAtY() 90 SkScalar y012 = SkScalarInterp(y01, y12, tMid); in ChopMonoAtY() 91 SkScalar y123 = SkScalarInterp(y12, y23, tMid); in ChopMonoAtY() 92 SkScalar y0123 = SkScalarInterp(y012, y123, tMid); in ChopMonoAtY() 94 *t = tMid; in ChopMonoAtY() 97 if (y0123 < 0) tNeg = tMid; in ChopMonoAtY() 98 else tPos = tMid; in ChopMonoAtY()
|