Searched refs:lengthSqd (Results 1 – 8 of 8) sorted by relevance
218 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineBetweenSqd()252 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineSegmentBetweenSqd()256 return v.lengthSqd(); in distanceToLineSegmentBetweenSqd()
734 if (diag[0].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()735 diag[1].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()736 diag[2].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()737 diag[3].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero) in computeMatrices()
2277 SkScalar lengthSqd = vec.lengthSqd(); in addPt() local2278 if (!SkScalarIsFinite(lengthSqd)) { in addPt()2280 } else if (lengthSqd) { in addPt()2339 if (!SkScalarNearlyZero(fLastVec.lengthSqd(), SK_ScalarNearlyZero*SK_ScalarNearlyZero) && in directionChange()2340 !SkScalarNearlyZero(curVec.lengthSqd(), SK_ScalarNearlyZero*SK_ScalarNearlyZero) && in directionChange()3211 if (SkScalarNearlyZero(tangent.lengthSqd())) { in contains()
715 SkASSERT(SkScalarNearlyEqual(invNormRotation.lengthSqd(), SK_Scalar1)); in Create()
953 SkScalar smallerLen = smaller.lengthSqd(); in sharp_angle()954 SkScalar largerLen = larger.lengthSqd(); in sharp_angle()
411 if (ab.lengthSqd() < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()412 if (dc.lengthSqd() < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()421 if (dc.lengthSqd() < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()434 bool doQuads = dc.lengthSqd() < SK_ScalarNearlyZero || in convert_noninflect_cubic_to_quads()435 ab.lengthSqd() < SK_ScalarNearlyZero; in convert_noninflect_cubic_to_quads()437 SkScalar invDALengthSqd = da.lengthSqd(); in convert_noninflect_cubic_to_quads()
38 return pt.lengthSqd() <= 1; in oval_contains()
472 SkScalar lengthSqd() const { in lengthSqd() function