Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkInsetConvexPolygon.cpp106 if (s0.fP1.equalsWithinTolerance(s1.fP0)) { in compute_intersection()
112 if (s1.fP1.equalsWithinTolerance(s0.fP0)) { in compute_intersection()
233 intersection.equalsWithinTolerance(edgeData[currIndex].fIntersection, in SkInsetConvexPolygon()
276 !edgeData[i].fIntersection.equalsWithinTolerance((*insetPolygon)[currIndex], in SkInsetConvexPolygon()
284 (*insetPolygon)[0].equalsWithinTolerance((*insetPolygon)[currIndex], in SkInsetConvexPolygon()
/external/skia/include/core/
DSkPath.h275 return exact ? p1 == p2 : p1.equalsWithinTolerance(p2); in IsLineDegenerate()
284 return exact ? p1 == p2 && p2 == p3 : p1.equalsWithinTolerance(p2) && in IsQuadDegenerate()
285 p2.equalsWithinTolerance(p3); in IsQuadDegenerate()
294 return exact ? p1 == p2 && p2 == p3 && p3 == p4 : p1.equalsWithinTolerance(p2) && in IsCubicDegenerate()
295 p2.equalsWithinTolerance(p3) && in IsCubicDegenerate()
296 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/src/core/
DSkGeometry.cpp1181 if (dst[0].fPts[1].equalsWithinTolerance(dst[0].fPts[2]) in chopIntoQuadsPOW2()
1182 && dst[1].fPts[0].equalsWithinTolerance(dst[1].fPts[1])) { in chopIntoQuadsPOW2()
1363 if (!lastQ.equalsWithinTolerance(offCurve)) { in BuildUnitArc()
DSkStroke.cpp421 bool teenyLine = fPrevPt.equalsWithinTolerance(currPt, SK_ScalarNearlyZero * fInvResScale); in lineTo()
/external/skia/samplecode/
DSampleFatBits.cpp476 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/gpu/ops/
DGrSmallPathRenderer.cpp716 !this->fShapes[0].fTranslate.equalsWithinTolerance(that->fShapes[0].fTranslate)) { in onCombineIfPossible()