Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPoint.cpp109 SkScalar uLengthSqd = LengthSqd(u); in DistanceToLineBetweenSqd()
122 return LengthSqd(v); in DistanceToLineBetweenSqd()
148 SkScalar uLengthSqd = LengthSqd(u); in DistanceToLineSegmentBetweenSqd()
153 return LengthSqd(v); in DistanceToLineSegmentBetweenSqd()
165 return LengthSqd(v); in DistanceToLineSegmentBetweenSqd()
DSkPointPriv.h63 static SkScalar LengthSqd(const SkPoint& pt) { in LengthSqd() function
DSkStroke.cpp1011 SkScalar smallerLen = SkPointPriv::LengthSqd(smaller); in sharp_angle()
1012 SkScalar largerLen = SkPointPriv::LengthSqd(larger); in sharp_angle()
DSkGeometry.cpp1139 SkScalar dPtMagnitude = SkPointPriv::LengthSqd(dPt); in SkFindCubicCusp()
DSkPath.cpp3111 if (SkScalarNearlyZero(SkPointPriv::LengthSqd(tangent))) { in contains()
/external/skia/src/gpu/ganesh/geometry/
DGrPathUtils.cpp303 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
304 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
313 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
368 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint()
369 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint()
378 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint()
390 bool doQuads = SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero || in convert_noninflect_cubic_to_quads_with_constraint()
391 SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero; in convert_noninflect_cubic_to_quads_with_constraint()
393 SkScalar invDALengthSqd = SkPointPriv::LengthSqd(da); in convert_noninflect_cubic_to_quads_with_constraint()
/external/skia/tools/fonts/
DTestSVGTypeface.cpp1150 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
1151 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
1160 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
/external/skia/src/gpu/ganesh/ops/
DAAHairLinePathRenderer.cpp609 if (toDevice && SkPointPriv::LengthSqd(ac) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad()
708 SkScalar lengthSqd = SkPointPriv::LengthSqd(vec); in add_line()
/external/skia/src/gpu/ganesh/
DSurfaceDrawContext.cpp1253 maxOffset = SkScalarSqrt(std::max(SkPointPriv::LengthSqd(upperLeftOffset), in drawFastShadow()
1254 SkPointPriv::LengthSqd(lowerRightOffset))) + dr; in drawFastShadow()