Home
last modified time | relevance | path

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

/external/skqp/src/pathops/
DSkReduceOrder.cpp268 if (SkDPoint::ApproximatelyEqual(a[0], a[1]) && SkDPoint::ApproximatelyEqual(a[0], a[2]) in Cubic()
269 && SkDPoint::ApproximatelyEqual(a[0], a[3])) { in Cubic()
DSkOpEdgeBuilder.cpp36 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve()
62 if (!SkDPoint::ApproximatelyEqual(curveEnd, curveStart)) { in closeContour()
105 if (SkDPoint::ApproximatelyEqual(curve[0], pts[1])) { in preFetch()
DSkPathOpsWinding.cpp150 if (SkDPoint::ApproximatelyEqual(pt, base.fPt)) { in rayCheck()
308 if (last && SkDPoint::ApproximatelyEqual(*last, hit->fPt)) { in sortableTop()
313 if (SkDPoint::ApproximatelyEqual(next, hit->fPt)) { in sortableTop()
DSkDQuadLineIntersection.cpp396 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs()
399 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
DSkDConicLineIntersection.cpp296 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs()
299 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
DSkPathOpsPoint.h189 static bool ApproximatelyEqual(const SkPoint& a, const SkPoint& b) { in ApproximatelyEqual() function
DSkOpSegment.cpp1058 if (!SkDPoint::ApproximatelyEqual(testPt, base->fPt)) { in match()
1376 SkOPASSERT(!SkDPoint::ApproximatelyEqual(dBugRef->fPt, dBugCheck->fPt)); in spansNearby()
1672 if (!SkDPoint::ApproximatelyEqual(priorPtT->fPt, midPt) in testForCoincidence()
1673 && !SkDPoint::ApproximatelyEqual(ptT->fPt, midPt)) { in testForCoincidence()
/external/skia/src/pathops/
DSkReduceOrder.cpp268 if (SkDPoint::ApproximatelyEqual(a[0], a[1]) && SkDPoint::ApproximatelyEqual(a[0], a[2]) in Cubic()
269 && SkDPoint::ApproximatelyEqual(a[0], a[3])) { in Cubic()
DSkOpEdgeBuilder.cpp40 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve()
66 if (!SkDPoint::ApproximatelyEqual(curveEnd, curveStart)) { in closeContour()
106 if (SkDPoint::ApproximatelyEqual(curve[0], curve[1])) { in preFetch()
DSkPathOpsWinding.cpp151 if (SkDPoint::ApproximatelyEqual(pt, base.fPt)) { in rayCheck()
309 if (last && SkDPoint::ApproximatelyEqual(*last, hit->fPt)) { in sortableTop()
314 if (SkDPoint::ApproximatelyEqual(next, hit->fPt)) { in sortableTop()
DSkDQuadLineIntersection.cpp396 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs()
399 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
DSkDConicLineIntersection.cpp296 if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[0].asSkPoint())) { in pinTs()
299 } else if (SkDPoint::ApproximatelyEqual(gridPt, (*fLine)[1].asSkPoint())) { in pinTs()
DSkPathOpsPoint.h195 static bool ApproximatelyEqual(const SkPoint& a, const SkPoint& b) { in ApproximatelyEqual() function
DSkOpSegment.cpp1058 if (!SkDPoint::ApproximatelyEqual(testPt, base->fPt)) { in match()
1376 SkOPASSERT(!SkDPoint::ApproximatelyEqual(dBugRef->fPt, dBugCheck->fPt)); in spansNearby()
1672 if (!SkDPoint::ApproximatelyEqual(priorPtT->fPt, midPt) in testForCoincidence()
1673 && !SkDPoint::ApproximatelyEqual(ptT->fPt, midPt)) { in testForCoincidence()
/external/libchrome/ui/gfx/geometry/
Drect.cc300 bool Rect::ApproximatelyEqual(const Rect& rect, int tolerance) const { in ApproximatelyEqual() function in gfx::Rect
Drect.h211 bool ApproximatelyEqual(const Rect& rect, int tolerance) const;
/external/skqp/tests/
DPathOpsOpTest.cpp26 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit()
/external/skia/tests/
DPathOpsOpTest.cpp26 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit()