Home
last modified time | relevance | path

Searched refs:DistanceToLineSegmentBetweenSqd (Results 1 – 6 of 6) 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/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/skia/src/gpu/ops/
DAAConvexPathRenderer.cpp254 if (SkPointPriv::DistanceToLineSegmentBetweenSqd(pts[1], pts[0], pts[2]) < kCloseSqd) { in add_quad_segment()