Searched refs:DistanceToLineSegmentBetweenSqd (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/core/ |
D | SkPointPriv.h | 40 static SkScalar DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a, 45 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
|
D | SkPoint.cpp | 129 SkScalar SkPointPriv::DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a, in DistanceToLineSegmentBetweenSqd() function in SkPointPriv
|
/third_party/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 78 (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()
|
D | GrTriangulator.cpp | 472 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/ |
D | SkShadowTessellator.cpp | 253 SkScalar minDistSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, in computeConvexShadow() 265 SkScalar distSq = SkPointPriv::DistanceToLineSegmentBetweenSqd(fCentroid, currPoint, in computeConvexShadow()
|
/third_party/skia/src/gpu/ops/ |
D | AAConvexPathRenderer.cpp | 254 if (SkPointPriv::DistanceToLineSegmentBetweenSqd(pts[1], pts[0], pts[2]) < kCloseSqd) { in add_quad_segment()
|