Searched refs:LengthSqd (Results 1 – 9 of 9) sorted by relevance
109 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()
63 static SkScalar LengthSqd(const SkPoint& pt) { in LengthSqd() function
1011 SkScalar smallerLen = SkPointPriv::LengthSqd(smaller); in sharp_angle()1012 SkScalar largerLen = SkPointPriv::LengthSqd(larger); in sharp_angle()
1139 SkScalar dPtMagnitude = SkPointPriv::LengthSqd(dPt); in SkFindCubicCusp()
3111 if (SkScalarNearlyZero(SkPointPriv::LengthSqd(tangent))) { in contains()
303 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()
1150 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()
609 if (toDevice && SkPointPriv::LengthSqd(ac) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad()708 SkScalar lengthSqd = SkPointPriv::LengthSqd(vec); in add_line()
1253 maxOffset = SkScalarSqrt(std::max(SkPointPriv::LengthSqd(upperLeftOffset), in drawFastShadow()1254 SkPointPriv::LengthSqd(lowerRightOffset))) + dr; in drawFastShadow()