Searched refs:lengthSqd (Results 1 – 10 of 10) sorted by relevance
217 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineBetweenSqd()251 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineSegmentBetweenSqd()255 return v.lengthSqd(); in distanceToLineSegmentBetweenSqd()
715 if (diag[0].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()716 diag[1].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()717 diag[2].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()718 diag[3].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero) in computeMatrices()
2312 SkScalar lengthSqd = vec.lengthSqd(); in addPt() local2313 if (!SkScalarIsFinite(lengthSqd)) { in addPt()2315 } else if (lengthSqd) { in addPt()2374 if (!SkScalarNearlyZero(fLastVec.lengthSqd(), SK_ScalarNearlyZero*SK_ScalarNearlyZero) && in directionChange()2375 !SkScalarNearlyZero(curVec.lengthSqd(), SK_ScalarNearlyZero*SK_ScalarNearlyZero) && in directionChange()3246 if (SkScalarNearlyZero(tangent.lengthSqd())) { in contains()
976 SkScalar smallerLen = smaller.lengthSqd(); in sharp_angle()977 SkScalar largerLen = larger.lengthSqd(); in sharp_angle()
410 if (ab.lengthSqd() < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()411 if (dc.lengthSqd() < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()420 if (dc.lengthSqd() < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()433 bool doQuads = dc.lengthSqd() < SK_ScalarNearlyZero || in convert_noninflect_cubic_to_quads()434 ab.lengthSqd() < SK_ScalarNearlyZero; in convert_noninflect_cubic_to_quads()436 SkScalar invDALengthSqd = da.lengthSqd(); in convert_noninflect_cubic_to_quads()
78 SkScalar dPlenSq = dP.lengthSqd(); in SkOffsetSegment()85 dPlenSq = dP.lengthSqd(); in SkOffsetSegment()
38 return pt.lengthSqd() <= 1; in oval_contains()
75 if (newVel.lengthSqd() > kMaxShipSpeed*kMaxShipSpeed) { in thrust()
1301 SkScalar lenSq = adjOpp.lengthSqd(); in pt_to_line()
472 SkScalar lengthSqd() const { in lengthSqd() function