Lines Matching refs:onCurveCount
3208 static int winding_mono_cubic(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_cubic() argument
3222 *onCurveCount += 1; in winding_mono_cubic()
3247 *onCurveCount += 1; in winding_mono_cubic()
3254 static int winding_cubic(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_cubic() argument
3259 w += winding_mono_cubic(&dst[i * 3], x, y, onCurveCount); in winding_cubic()
3282 static int winding_mono_conic(const SkConic& conic, SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_conic() argument
3297 *onCurveCount += 1; in winding_mono_conic()
3325 *onCurveCount += 1; in winding_mono_conic()
3345 int* onCurveCount) { in winding_conic() argument
3351 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
3353 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
3358 static int winding_mono_quad(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_quad() argument
3372 *onCurveCount += 1; in winding_mono_quad()
3406 *onCurveCount += 1; in winding_mono_quad()
3413 static int winding_quad(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_quad() argument
3421 int w = winding_mono_quad(pts, x, y, onCurveCount); in winding_quad()
3423 w += winding_mono_quad(&pts[2], x, y, onCurveCount); in winding_quad()
3428 static int winding_line(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_line() argument
3446 *onCurveCount += 1; in winding_line()
3459 *onCurveCount += 1; in winding_line()
3588 int onCurveCount = 0; in contains() local
3596 w += winding_line(pts, x, y, &onCurveCount); in contains()
3599 w += winding_quad(pts, x, y, &onCurveCount); in contains()
3602 w += winding_conic(pts, x, y, iter.conicWeight(), &onCurveCount); in contains()
3605 w += winding_cubic(pts, x, y, &onCurveCount); in contains()
3620 if (onCurveCount <= 1) { in contains()
3621 return SkToBool(onCurveCount) ^ isInverse; in contains()
3623 if ((onCurveCount & 1) || evenOddFill) { in contains()
3624 return SkToBool(onCurveCount & 1) ^ isInverse; in contains()