Searched refs:equalsWithinTolerance (Results 1 – 8 of 8) sorted by relevance
106 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()
275 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()
401 bool equalsWithinTolerance(const SkPoint& p) const { in equalsWithinTolerance() function409 bool equalsWithinTolerance(const SkPoint& p, SkScalar tol) const { in equalsWithinTolerance() function
1181 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()
421 bool teenyLine = fPrevPt.equalsWithinTolerance(currPt, SK_ScalarNearlyZero * fInvResScale); in lineTo()
476 if (fPts[i].equalsWithinTolerance(pt, tol)) { in onFindClickHandler()
200 rr2.radii((SkRRect::Corner) i).equalsWithinTolerance(halfPoint)); in test_round_rect_basic()
716 !this->fShapes[0].fTranslate.equalsWithinTolerance(that->fShapes[0].fTranslate)) { in onCombineIfPossible()