Home
last modified time | relevance | path

Searched refs:ycrv (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkCubicClipper.cpp23 SkScalar ycrv[4]; in ChopMonoAtY() local
24 ycrv[0] = pts[0].fY - y; in ChopMonoAtY()
25 ycrv[1] = pts[1].fY - y; in ChopMonoAtY()
26 ycrv[2] = pts[2].fY - y; in ChopMonoAtY()
27 ycrv[3] = pts[3].fY - y; in ChopMonoAtY()
33 SkScalar t1 = ycrv[0] / (ycrv[0] - ycrv[3]); in ChopMonoAtY()
43 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], t0); in ChopMonoAtY()
44 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], t0); in ChopMonoAtY()
45 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], t0); in ChopMonoAtY()
67 if (ycrv[0] < 0) { in ChopMonoAtY()
[all …]