Home
last modified time | relevance | path

Searched refs:lengthSqd (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/core/
DSkPoint.cpp218 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineBetweenSqd()
252 SkScalar uLengthSqd = u.lengthSqd(); in distanceToLineSegmentBetweenSqd()
256 return v.lengthSqd(); in distanceToLineSegmentBetweenSqd()
DSkPath.cpp2093 SkScalar lengthSqd = vec.lengthSqd(); in addPt() local
2094 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()
DSkScalerContext.cpp732 if (diag[0].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero || in computeMatrices()
733 diag[1].lengthSqd() <= SK_ScalarNearlyZero * SK_ScalarNearlyZero) in computeMatrices()
DSkStroke.cpp1111 SkScalar smallerLen = smaller.lengthSqd(); in sharp_angle()
1112 SkScalar largerLen = larger.lengthSqd(); in sharp_angle()
/external/skia/samplecode/
DSampleHT.cpp38 return pt.lengthSqd() <= 1; in oval_contains()
/external/skia/src/gpu/
DGrPathUtils.cpp434 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()
/external/skia/include/core/
DSkPoint.h472 SkScalar lengthSqd() const { in lengthSqd() function