Searched refs:ApproximatelyEqual (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/pathops/ |
D | SkReduceOrder.cpp | 265 if (SkDPoint::ApproximatelyEqual(a[0], a[1]) && SkDPoint::ApproximatelyEqual(a[0], a[2]) in Cubic() 266 && SkDPoint::ApproximatelyEqual(a[0], a[3])) { in Cubic()
|
D | SkOpEdgeBuilder.cpp | 52 if (!SkDPoint::ApproximatelyEqual(curveEnd, curveStart)) { in closeContour() 97 if (SkDPoint::ApproximatelyEqual(curve[0], pts[1])) { in preFetch()
|
D | SkPathOpsWinding.cpp | 148 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()
|
D | SkDQuadLineIntersection.cpp | 380 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs() 383 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
|
D | SkDConicLineIntersection.cpp | 275 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs() 278 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
|
D | SkOpSegment.cpp | 1103 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()
|
D | SkPathWriter.cpp | 111 return !fEmpty && SkDPoint::ApproximatelyEqual(fFirstPt, fDefer[1]); in isClosed()
|
D | SkPathOpsCommon.cpp | 220 if (!SkDPoint::ApproximatelyEqual(eStart, eEnd)) { in Assemble() 228 if (SkDPoint::ApproximatelyEqual(eStart, eEnd)) { in Assemble()
|
D | SkPathOpsPoint.h | 153 static bool ApproximatelyEqual(const SkPoint& a, const SkPoint& b) { in ApproximatelyEqual() function
|
D | SkPathOpsDebug.cpp | 685 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/ |
D | PathOpsOpTest.cpp | 25 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit()
|