Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp318 SkScalar toleranceSqd, in convert_noninflect_cubic_to_quads() argument
353 if (dSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads()
377 choppedPts + 0, toleranceSqd, quads, sublevel + 1, preserveFirstTangent, false); in convert_noninflect_cubic_to_quads()
379 choppedPts + 3, toleranceSqd, quads, sublevel + 1, false, preserveLastTangent); in convert_noninflect_cubic_to_quads()
383 SkScalar toleranceSqd, in convert_noninflect_cubic_to_quads_with_constraint() argument
427 if (detABSqd * invDALengthSqd < toleranceSqd && in convert_noninflect_cubic_to_quads_with_constraint()
428 detDCSqd * invDALengthSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads_with_constraint()
468 if (dSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads_with_constraint()
492 subdivide = 2 * d0d1 + d0Sqd + d1Sqd > toleranceSqd; in convert_noninflect_cubic_to_quads_with_constraint()
506 choppedPts + 0, toleranceSqd, dir, quads, sublevel + 1); in convert_noninflect_cubic_to_quads_with_constraint()
[all …]
DGrTriangulator.cpp475 void GrTriangulator::appendQuadraticToContour(const SkPoint pts[3], SkScalar toleranceSqd, in appendQuadraticToContour() argument
488 if (quad_error_at(pts, t, u) < toleranceSqd) { in appendQuadraticToContour()
527 SkScalar toleranceSqd = tolerance * tolerance; in pathToContours() local
546 if (toleranceSqd == 0) { in pathToContours()
551 const SkPoint* quadPts = converter.computeQuads(pts, weight, toleranceSqd); in pathToContours()
553 this->appendQuadraticToContour(quadPts, toleranceSqd, contour); in pathToContours()
570 if (toleranceSqd == 0) { in pathToContours()
574 this->appendQuadraticToContour(pts, toleranceSqd, contour); in pathToContours()
579 if (toleranceSqd == 0) { in pathToContours()
584 this->generateCubicPoints(pts[0], pts[1], pts[2], pts[3], toleranceSqd, contour, in pathToContours()
DGrTriangulator.h138 void appendQuadraticToContour(const SkPoint[3], SkScalar toleranceSqd,
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp1054 SkScalar toleranceSqd, in convert_noninflect_cubic_to_quads() argument
1090 if (dSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads()
1103 convert_noninflect_cubic_to_quads(choppedPts + 0, toleranceSqd, quads, sublevel + 1); in convert_noninflect_cubic_to_quads()
1104 convert_noninflect_cubic_to_quads(choppedPts + 3, toleranceSqd, quads, sublevel + 1); in convert_noninflect_cubic_to_quads()