Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkOpAngle.cpp457 double endDist = end.length(); in endsIntersect() local
458 bool rayLonger = rayDist > endDist; in endsIntersect()
467 double delta = fabs(rayDist - endDist); in endsIntersect()
517 double endDist; in endToSide() local
518 int closestEnd = iEnd.closestTo(rh->fStart->t(), rh->fEnd->t(), rayEnd[0], &endDist); in endToSide()
522 if (!endDist) { in endToSide()
540 endDist /= maxWidth; in endToSide()
541 if (endDist < 5e-11) { // empirically found in endToSide()
DSkPathOpsTSect.h437 double endDist = test->fPart[OppCurve::kPointLast].distanceSquared(pt); in closestBoundedT() local
438 if (closest > endDist) { in closestBoundedT()
439 closest = endDist; in closestBoundedT()
/external/skia/tests/
DPathOpsAngleIdeas.cpp516 double endDist = end.length(); in testQuadAngles() local
517 double delta = fabs(rayDist - endDist) / maxWidth; in testQuadAngles()
532 double endDist = end.length(); in testQuadAngles() local
537 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
541 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()