Searched refs:EqualsWithinTolerance (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/core/ |
D | SkPointPriv.h | 54 static bool EqualsWithinTolerance(const SkPoint& p1, const SkPoint& p2) { in EqualsWithinTolerance() function 58 static bool EqualsWithinTolerance(const SkPoint& pt, const SkPoint& p, SkScalar tol) { in EqualsWithinTolerance() function
|
D | SkPath.cpp | 3403 return exact ? p1 == p2 : SkPointPriv::EqualsWithinTolerance(p1, p2); in IsLineDegenerate() 3408 return exact ? p1 == p2 && p2 == p3 : SkPointPriv::EqualsWithinTolerance(p1, p2) && in IsQuadDegenerate() 3409 SkPointPriv::EqualsWithinTolerance(p2, p3); in IsQuadDegenerate() 3415 SkPointPriv::EqualsWithinTolerance(p1, p2) && in IsCubicDegenerate() 3416 SkPointPriv::EqualsWithinTolerance(p2, p3) && in IsCubicDegenerate() 3417 SkPointPriv::EqualsWithinTolerance(p3, p4); in IsCubicDegenerate()
|
D | SkGeometry.cpp | 1540 if (SkPointPriv::EqualsWithinTolerance(dst[0].fPts[1], dst[0].fPts[2]) && in chopIntoQuadsPOW2() 1541 SkPointPriv::EqualsWithinTolerance(dst[1].fPts[0], dst[1].fPts[1])) { in chopIntoQuadsPOW2() 1758 if (!SkPointPriv::EqualsWithinTolerance(lastQ, offCurve)) { in BuildUnitArc()
|
D | SkStroke.cpp | 467 …bool teenyLine = SkPointPriv::EqualsWithinTolerance(fPrevPt, currPt, SK_ScalarNearlyZero * fInvRes… in lineTo()
|
/external/skia/src/utils/ |
D | SkPolyUtils.cpp | 273 if (SkPointPriv::EqualsWithinTolerance(p1, that->fOffset.fP0)) { in checkIntersection() 418 SkPointPriv::EqualsWithinTolerance(intersection, in SkInsetConvexPolygon() 469 if (!SkPointPriv::EqualsWithinTolerance(currEdge->fIntersection, in SkInsetConvexPolygon() 479 SkPointPriv::EqualsWithinTolerance((*insetPolygon)[0], (*insetPolygon)[currIndex], in SkInsetConvexPolygon() 1368 SkPointPriv::EqualsWithinTolerance(intersection, in SkOffsetSimplePolygon() 1393 bool prevSameContour = SkPointPriv::EqualsWithinTolerance(p1, in SkOffsetSimplePolygon() 1396 bool currSameContour = SkPointPriv::EqualsWithinTolerance(p1, in SkOffsetSimplePolygon() 1442 if (!SkPointPriv::EqualsWithinTolerance(currEdge->fIntersection, in SkOffsetSimplePolygon() 1455 SkPointPriv::EqualsWithinTolerance((*offsetPolygon)[0], (*offsetPolygon)[currIndex], in SkOffsetSimplePolygon()
|
/external/skia/tools/viewer/ |
D | FatBitsSlide.cpp | 473 if (SkPointPriv::EqualsWithinTolerance(fPts[i], pt, tol)) { in onFindClickHandler()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 828 if (!SkPointPriv::EqualsWithinTolerance(v1[i], v2[i], 0.00001f)) { in check_decompScale()
|
D | RoundRectTest.cpp | 229 SkPointPriv::EqualsWithinTolerance(rr2.radii((SkRRect::Corner) i), in test_round_rect_basic()
|