Home
last modified time | relevance | path

Searched refs:lenSq (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DPathOpsDVectorTest.cpp41 double lenSq = v1.lengthSquared(); in DEF_TEST() local
43 REPORTER_ASSERT(reporter, lenSq == v1Dot); in DEF_TEST()
44 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length())); in DEF_TEST()
/external/skia/src/pathops/
DSkOpAngle.cpp419 double lenSq = v.lengthSquared(); in distEndRatio() local
420 longest = SkTMax(longest, lenSq); in distEndRatio()
/external/skia/samplecode/
DSampleAAGeometry.cpp1301 SkScalar lenSq = adjOpp.lengthSqd(); in pt_to_line() local
1306 if (rotated.fX < 0 || rotated.fX > lenSq) { in pt_to_line()
1309 rotated.fY /= SkScalarSqrt(lenSq); in pt_to_line()