Searched refs:lenSq (Results 1 – 3 of 3) sorted by relevance
41 double lenSq = v1.lengthSquared(); in DEF_TEST() local43 REPORTER_ASSERT(reporter, lenSq == v1Dot); in DEF_TEST()44 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length())); in DEF_TEST()
419 double lenSq = v.lengthSquared(); in distEndRatio() local420 longest = SkTMax(longest, lenSq); in distEndRatio()
1301 SkScalar lenSq = adjOpp.lengthSqd(); in pt_to_line() local1306 if (rotated.fX < 0 || rotated.fX > lenSq) { in pt_to_line()1309 rotated.fY /= SkScalarSqrt(lenSq); in pt_to_line()