Lines Matching refs:tol
40 SkScalar tol) { in quadraticPointCount() argument
41 if (tol < gMinCurveTol) { in quadraticPointCount()
42 tol = gMinCurveTol; in quadraticPointCount()
44 SkASSERT(tol > 0); in quadraticPointCount()
47 if (d <= tol) { in quadraticPointCount()
54 int temp = SkScalarCeil(SkScalarSqrt(SkScalarDiv(d, tol))); in quadraticPointCount()
92 SkScalar tol) { in cubicPointCount() argument
93 if (tol < gMinCurveTol) { in cubicPointCount()
94 tol = gMinCurveTol; in cubicPointCount()
96 SkASSERT(tol > 0); in cubicPointCount()
102 if (d <= tol) { in cubicPointCount()
105 int temp = SkScalarCeil(SkScalarSqrt(SkScalarDiv(d, tol))); in cubicPointCount()
148 SkScalar tol) { in worstCasePointCount() argument
149 if (tol < gMinCurveTol) { in worstCasePointCount()
150 tol = gMinCurveTol; in worstCasePointCount()
152 SkASSERT(tol > 0); in worstCasePointCount()
170 pointCount += quadraticPointCount(pts, tol); in worstCasePointCount()
173 pointCount += cubicPointCount(pts, tol); in worstCasePointCount()