Home
last modified time | relevance | path

Searched refs:ApproximatelyEqual (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/pathops/
DSkReduceOrder.cpp265 if (SkDPoint::ApproximatelyEqual(a[0], a[1]) && SkDPoint::ApproximatelyEqual(a[0], a[2]) in Cubic()
266 && SkDPoint::ApproximatelyEqual(a[0], a[3])) { in Cubic()
DSkOpEdgeBuilder.cpp52 if (!SkDPoint::ApproximatelyEqual(curveEnd, curveStart)) { in closeContour()
97 if (SkDPoint::ApproximatelyEqual(curve[0], pts[1])) { in preFetch()
DSkPathOpsWinding.cpp148 if (SkDPoint::ApproximatelyEqual(pt, base.fPt)) { in rayCheck()
299 if (last && SkDPoint::ApproximatelyEqual(*last, hit->fPt)) { in sortableTop()
304 if (SkDPoint::ApproximatelyEqual(next, hit->fPt)) { in sortableTop()
DSkDQuadLineIntersection.cpp380 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs()
383 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
DSkDConicLineIntersection.cpp275 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs()
278 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
DSkOpSegment.cpp1103 if (!SkDPoint::ApproximatelyEqual(testPt, base->fPt)) { in match()
1272 coincident = (SkDPoint::ApproximatelyEqual(priorPtT->fPt, oppStart->fPt) || in missingCoincidence()
1273 SkDPoint::ApproximatelyEqual(priorPtT->fPt, oppEnd->fPt)) && in missingCoincidence()
1274 (SkDPoint::ApproximatelyEqual(ptT->fPt, oppStart->fPt) || in missingCoincidence()
1275 SkDPoint::ApproximatelyEqual(ptT->fPt, oppEnd->fPt)); in missingCoincidence()
1684 if (!SkDPoint::ApproximatelyEqual(priorPtT->fPt, midPt) in testForCoincidence()
1685 && !SkDPoint::ApproximatelyEqual(ptT->fPt, midPt)) { in testForCoincidence()
DSkPathWriter.cpp111 return !fEmpty && SkDPoint::ApproximatelyEqual(fFirstPt, fDefer[1]); in isClosed()
DSkPathOpsCommon.cpp220 if (!SkDPoint::ApproximatelyEqual(eStart, eEnd)) { in Assemble()
228 if (SkDPoint::ApproximatelyEqual(eStart, eEnd)) { in Assemble()
DSkPathOpsPoint.h153 static bool ApproximatelyEqual(const SkPoint& a, const SkPoint& b) { in ApproximatelyEqual() function
DSkPathOpsDebug.cpp685 coincident = (SkDPoint::ApproximatelyEqual(priorPtT->fPt, oppStart->fPt) || in debugMissingCoincidence()
686 SkDPoint::ApproximatelyEqual(priorPtT->fPt, oppEnd->fPt)) && in debugMissingCoincidence()
687 (SkDPoint::ApproximatelyEqual(ptT->fPt, oppStart->fPt) || in debugMissingCoincidence()
688 SkDPoint::ApproximatelyEqual(ptT->fPt, oppEnd->fPt)); in debugMissingCoincidence()
/external/skia/tests/
DPathOpsOpTest.cpp25 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit()