Lines Matching refs:tolSqd
74 SkScalar tolSqd, in generateQuadraticPoints() argument
78 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p2)) < tolSqd) { in generateQuadraticPoints()
91 uint32_t a = generateQuadraticPoints(p0, q[0], r, tolSqd, points, pointsLeft); in generateQuadraticPoints()
92 uint32_t b = generateQuadraticPoints(r, q[1], p2, tolSqd, points, pointsLeft); in generateQuadraticPoints()
105 SkScalar tolSqd, in generateCubicPoints() argument
109 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p3) < tolSqd && in generateCubicPoints()
110 SkPointPriv::DistanceToLineSegmentBetweenSqd(p2, p0, p3) < tolSqd)) { in generateCubicPoints()
126 uint32_t a = generateCubicPoints(p0, q[0], r[0], s, tolSqd, points, pointsLeft); in generateCubicPoints()
127 uint32_t b = generateCubicPoints(s, r[1], q[2], p3, tolSqd, points, pointsLeft); in generateCubicPoints()
524 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads() local
528 convert_noninflect_cubic_to_quads(cubic, tolSqd, quads); in convertCubicToQuads()
545 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuadsConstrainToTangents() local
549 convert_noninflect_cubic_to_quads_with_constraint(cubic, tolSqd, dir, quads); in convertCubicToQuadsConstrainToTangents()