Home
last modified time | relevance | path

Searched refs:DistanceToLineSegmentBetweenSqd (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/src/core/
DSkPointPriv.h40 static SkScalar DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a,
45 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
DSkPoint.cpp129 SkScalar SkPointPriv::DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a, in DistanceToLineSegmentBetweenSqd() function in SkPointPriv
/third_party/flutter/skia/src/core/
DSkPointPriv.h40 static SkScalar DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a,
45 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
DSkPoint.cpp122 SkScalar SkPointPriv::DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a, in DistanceToLineSegmentBetweenSqd() function in SkPointPriv
/third_party/flutter/skia/src/gpu/geometry/
DGrPathUtils.cpp86 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p2)) < tolSqd) { in generateQuadraticPoints()
110 SkPointPriv::DistanceToLineSegmentBetweenSqd(points[1], points[0], points[3]), in cubicPointCount()
111 SkPointPriv::DistanceToLineSegmentBetweenSqd(points[2], points[0], points[3])); in cubicPointCount()
143 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p3) < tolSqd && in generateCubicPoints()
144 SkPointPriv::DistanceToLineSegmentBetweenSqd(p2, p0, p3) < tolSqd)) { in generateCubicPoints()
/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp78 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p2)) < tolSqd) { in generateQuadraticPoints()
109 (SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p3) < tolSqd && in generateCubicPoints()
110 SkPointPriv::DistanceToLineSegmentBetweenSqd(p2, p0, p3) < tolSqd)) { in generateCubicPoints()
DGrTriangulator.cpp472 return SkPointPriv::DistanceToLineSegmentBetweenSqd(mid, p0, p1); in quad_error_at()
501 SkScalar d1 = SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p3); in generateCubicPoints()
502 SkScalar d2 = SkPointPriv::DistanceToLineSegmentBetweenSqd(p2, p0, p3); in generateCubicPoints()
/third_party/skia/src/utils/
DSkShadowTessellator.cpp253 SkScalar minDistSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, in computeConvexShadow()
265 SkScalar distSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, currPoint, in computeConvexShadow()
/third_party/flutter/skia/src/utils/
DSkShadowTessellator.cpp256 SkScalar minDistSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, in computeConvexShadow()
268 SkScalar distSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, currPoint, in computeConvexShadow()
/third_party/flutter/skia/src/gpu/ops/
DGrAAConvexPathRenderer.cpp246 if (SkPointPriv::DistanceToLineSegmentBetweenSqd(pts[1], pts[0], pts[2]) < kCloseSqd) { in add_quad_segment()
/third_party/skia/src/gpu/ops/
DAAConvexPathRenderer.cpp254 if (SkPointPriv::DistanceToLineSegmentBetweenSqd(pts[1], pts[0], pts[2]) < kCloseSqd) { in add_quad_segment()
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp745 return SkPointPriv::DistanceToLineSegmentBetweenSqd(mid, p0, p1); in quad_error_at()
779 SkScalar d1 = SkPointPriv::DistanceToLineSegmentBetweenSqd(p1, p0, p3); in generate_cubic_points()
780 SkScalar d2 = SkPointPriv::DistanceToLineSegmentBetweenSqd(p2, p0, p3); in generate_cubic_points()