Home
last modified time | relevance | path

Searched refs:tolSqd (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp74 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
[all …]
DGrPathUtils.h50 SkScalar tolSqd,
64 SkScalar tolSqd,
DGrTriangulator.cpp499 const SkPoint& p3, SkScalar tolSqd, VertexList* contour, in generateCubicPoints() argument
503 if (pointsLeft < 2 || (d1 < tolSqd && d2 < tolSqd) || in generateCubicPoints()
519 this->generateCubicPoints(p0, q[0], r[0], s, tolSqd, contour, pointsLeft); in generateCubicPoints()
520 this->generateCubicPoints(s, r[1], q[2], p3, tolSqd, contour, pointsLeft); in generateCubicPoints()
DGrTriangulator.h141 SkScalar tolSqd, VertexList* contour, int pointsLeft) const;
/third_party/flutter/skia/src/gpu/geometry/
DGrPathUtils.cpp82 SkScalar tolSqd, in generateQuadraticPoints() argument
86 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p2)) < tolSqd) { in generateQuadraticPoints()
99 uint32_t a = generateQuadraticPoints(p0, q[0], r, tolSqd, points, pointsLeft); in generateQuadraticPoints()
100 uint32_t b = generateQuadraticPoints(r, q[1], p2, tolSqd, points, pointsLeft); in generateQuadraticPoints()
139 SkScalar tolSqd, in generateCubicPoints() argument
143 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p3) < tolSqd && in generateCubicPoints()
144 SkPointPriv::DistanceToLineSegmentBetweenSqd(p2, p0, p3) < tolSqd)) { in generateCubicPoints()
160 uint32_t a = generateCubicPoints(p0, q[0], r[0], s, tolSqd, points, pointsLeft); in generateCubicPoints()
161 uint32_t b = generateCubicPoints(s, r[1], q[2], p3, tolSqd, points, pointsLeft); in generateCubicPoints()
605 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads() local
[all …]
DGrPathUtils.h37 SkScalar tolSqd,
47 SkScalar tolSqd,
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp775 SkScalar tolSqd, in generate_cubic_points() argument
781 if (pointsLeft < 2 || (d1 < tolSqd && d2 < tolSqd) || in generate_cubic_points()
797 generate_cubic_points(p0, q[0], r[0], s, tolSqd, contour, pointsLeft, alloc); in generate_cubic_points()
798 generate_cubic_points(s, r[1], q[2], p3, tolSqd, contour, pointsLeft, alloc); in generate_cubic_points()
/third_party/flutter/skia/tools/fonts/
DTestSVGTypeface.cpp1111 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads() local
1115 convert_noninflect_cubic_to_quads(cubic, tolSqd, quads); in convertCubicToQuads()
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp1114 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads() local
1118 convert_noninflect_cubic_to_quads(cubic, tolSqd, quads); in convertCubicToQuads()