Home
last modified time | relevance | path

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

/external/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.h49 SkScalar tolSqd,
63 SkScalar tolSqd,
/external/skqp/src/gpu/
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,
DGrTessellator.cpp718 SkScalar tolSqd, in generate_cubic_points() argument
724 if (pointsLeft < 2 || (d1 < tolSqd && d2 < tolSqd) || in generate_cubic_points()
740 generate_cubic_points(p0, q[0], r[0], s, tolSqd, contour, pointsLeft, alloc); in generate_cubic_points()
741 generate_cubic_points(s, r[1], q[2], p3, tolSqd, contour, pointsLeft, alloc); in generate_cubic_points()
/external/skia/src/gpu/
DGrTriangulator.cpp407 const SkPoint& p3, SkScalar tolSqd, VertexList* contour, in generateCubicPoints() argument
411 if (pointsLeft < 2 || (d1 < tolSqd && d2 < tolSqd) || in generateCubicPoints()
427 this->generateCubicPoints(p0, q[0], r[0], s, tolSqd, contour, pointsLeft); in generateCubicPoints()
428 this->generateCubicPoints(s, r[1], q[2], p3, tolSqd, contour, pointsLeft); in generateCubicPoints()
DGrTriangulator.h138 SkScalar tolSqd, VertexList* contour, int pointsLeft) const;
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp972 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads() local
976 convert_noninflect_cubic_to_quads(cubic, tolSqd, quads); in convertCubicToQuads()
/external/skia/tools/fonts/
DTestSVGTypeface.cpp1113 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads() local
1117 convert_noninflect_cubic_to_quads(cubic, tolSqd, quads); in convertCubicToQuads()