Home
last modified time | relevance | path

Searched refs:equalsWithinTolerance (Results 1 – 5 of 5) sorted by relevance

/external/skia/include/core/
DSkPath.h245 return exact ? p1 == p2 : p1.equalsWithinTolerance(p2); in IsLineDegenerate()
254 return exact ? p1 == p2 && p2 == p3 : p1.equalsWithinTolerance(p2) && in IsQuadDegenerate()
255 p2.equalsWithinTolerance(p3); in IsQuadDegenerate()
264 return exact ? p1 == p2 && p2 == p3 && p3 == p4 : p1.equalsWithinTolerance(p2) && in IsCubicDegenerate()
265 p2.equalsWithinTolerance(p3) && in IsCubicDegenerate()
266 p3.equalsWithinTolerance(p4); in IsCubicDegenerate()
DSkPoint.h401 bool equalsWithinTolerance(const SkPoint& p) const { in equalsWithinTolerance() function
409 bool equalsWithinTolerance(const SkPoint& p, SkScalar tol) const { in equalsWithinTolerance() function
/external/skia/samplecode/
DSampleFatBits.cpp504 if (fPts[i].equalsWithinTolerance(pt, tol)) { in onFindClickHandler()
/external/skia/tests/
DRoundRectTest.cpp200 rr2.radii((SkRRect::Corner) i).equalsWithinTolerance(halfPoint)); in test_round_rect_basic()
/external/skia/src/core/
DSkStroke.cpp410 && fPrevPt.equalsWithinTolerance(currPt, SK_ScalarNearlyZero * fInvResScale)) { in lineTo()