Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPointPriv.h54 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
DSkPath.cpp3403 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()
DSkGeometry.cpp1540 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()
DSkStroke.cpp467 …bool teenyLine = SkPointPriv::EqualsWithinTolerance(fPrevPt, currPt, SK_ScalarNearlyZero * fInvRes… in lineTo()
/external/skia/src/utils/
DSkPolyUtils.cpp273 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/
DFatBitsSlide.cpp473 if (SkPointPriv::EqualsWithinTolerance(fPts[i], pt, tol)) { in onFindClickHandler()
/external/skia/tests/
DMatrixTest.cpp828 if (!SkPointPriv::EqualsWithinTolerance(v1[i], v2[i], 0.00001f)) { in check_decompScale()
DRoundRectTest.cpp229 SkPointPriv::EqualsWithinTolerance(rr2.radii((SkRRect::Corner) i), in test_round_rect_basic()