Searched refs:lengthSqd (Results 1 – 7 of 7) sorted by relevance
218 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineBetweenSqd()252 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineSegmentBetweenSqd()256 return v.lengthSqd(); in distanceToLineSegmentBetweenSqd()
2093 SkScalar lengthSqd = vec.lengthSqd(); in addPt() local2094 if (!SkScalarIsFinite(lengthSqd)) { in addPt()2096 } else if (!SkScalarNearlyZero(lengthSqd, SK_ScalarNearlyZero*SK_ScalarNearlyZero)) { in addPt()2155 if (!SkScalarNearlyZero(fLastVec.lengthSqd(), SK_ScalarNearlyZero*SK_ScalarNearlyZero) && in directionChange()2156 !SkScalarNearlyZero(curVec.lengthSqd(), SK_ScalarNearlyZero*SK_ScalarNearlyZero) && in directionChange()
732 if (diag[0].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()733 diag[1].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero) in computeMatrices()
1111 SkScalar smallerLen = smaller.lengthSqd(); in sharp_angle()1112 SkScalar largerLen = larger.lengthSqd(); in sharp_angle()
38 return pt.lengthSqd() <= 1; in oval_contains()
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()
472 SkScalar lengthSqd() const { in lengthSqd() function