Lines Matching refs:onCurveCount
2589 static int winding_mono_cubic(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_cubic() argument
2603 *onCurveCount += 1; in winding_mono_cubic()
2628 *onCurveCount += 1; in winding_mono_cubic()
2635 static int winding_cubic(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_cubic() argument
2640 w += winding_mono_cubic(&dst[i * 3], x, y, onCurveCount); in winding_cubic()
2663 static int winding_mono_conic(const SkConic& conic, SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_conic() argument
2678 *onCurveCount += 1; in winding_mono_conic()
2706 *onCurveCount += 1; in winding_mono_conic()
2726 int* onCurveCount) { in winding_conic() argument
2732 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
2734 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
2739 static int winding_mono_quad(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_quad() argument
2753 *onCurveCount += 1; in winding_mono_quad()
2787 *onCurveCount += 1; in winding_mono_quad()
2794 static int winding_quad(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_quad() argument
2802 int w = winding_mono_quad(pts, x, y, onCurveCount); in winding_quad()
2804 w += winding_mono_quad(&pts[2], x, y, onCurveCount); in winding_quad()
2809 static int winding_line(const SkPoint pts[], SkScalar x, SkScalar y, int* onCurveCount) { in winding_line() argument
2827 *onCurveCount += 1; in winding_line()
2840 *onCurveCount += 1; in winding_line()
2969 int onCurveCount = 0; in contains() local
2977 w += winding_line(pts, x, y, &onCurveCount); in contains()
2980 w += winding_quad(pts, x, y, &onCurveCount); in contains()
2983 w += winding_conic(pts, x, y, iter.conicWeight(), &onCurveCount); in contains()
2986 w += winding_cubic(pts, x, y, &onCurveCount); in contains()
3001 if (onCurveCount <= 1) { in contains()
3002 return SkToBool(onCurveCount) ^ isInverse; in contains()
3004 if ((onCurveCount & 1) || evenOddFill) { in contains()
3005 return SkToBool(onCurveCount & 1) ^ isInverse; in contains()