Home
last modified time | relevance | path

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

/third_party/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.cpp3378 return exact ? p1 == p2 : SkPointPriv::EqualsWithinTolerance(p1, p2); in IsLineDegenerate()
3383 return exact ? p1 == p2 && p2 == p3 : SkPointPriv::EqualsWithinTolerance(p1, p2) && in IsQuadDegenerate()
3384 SkPointPriv::EqualsWithinTolerance(p2, p3); in IsQuadDegenerate()
3390 SkPointPriv::EqualsWithinTolerance(p1, p2) && in IsCubicDegenerate()
3391 SkPointPriv::EqualsWithinTolerance(p2, p3) && in IsCubicDegenerate()
3392 SkPointPriv::EqualsWithinTolerance(p3, p4); in IsCubicDegenerate()
DSkGeometry.cpp1487 if (SkPointPriv::EqualsWithinTolerance(dst[0].fPts[1], dst[0].fPts[2]) && in chopIntoQuadsPOW2()
1488 SkPointPriv::EqualsWithinTolerance(dst[1].fPts[0], dst[1].fPts[1])) { in chopIntoQuadsPOW2()
1705 if (!SkPointPriv::EqualsWithinTolerance(lastQ, offCurve)) { in BuildUnitArc()
DSkStroke.cpp467 …bool teenyLine = SkPointPriv::EqualsWithinTolerance(fPrevPt, currPt, SK_ScalarNearlyZero * fInvRes… in lineTo()
/third_party/skia/src/utils/
DSkPolyUtils.cpp255 if (SkPointPriv::EqualsWithinTolerance(p1, that->fOffset.fP0)) { in checkIntersection()
400 SkPointPriv::EqualsWithinTolerance(intersection, in SkInsetConvexPolygon()
451 if (!SkPointPriv::EqualsWithinTolerance(currEdge->fIntersection, in SkInsetConvexPolygon()
461 SkPointPriv::EqualsWithinTolerance((*insetPolygon)[0], (*insetPolygon)[currIndex], in SkInsetConvexPolygon()
1338 SkPointPriv::EqualsWithinTolerance(intersection, in SkOffsetSimplePolygon()
1363 bool prevSameContour = SkPointPriv::EqualsWithinTolerance(p1, in SkOffsetSimplePolygon()
1366 bool currSameContour = SkPointPriv::EqualsWithinTolerance(p1, in SkOffsetSimplePolygon()
1412 if (!SkPointPriv::EqualsWithinTolerance(currEdge->fIntersection, in SkOffsetSimplePolygon()
1425 SkPointPriv::EqualsWithinTolerance((*offsetPolygon)[0], (*offsetPolygon)[currIndex], in SkOffsetSimplePolygon()
/third_party/skia/samplecode/
DSampleFatBits.cpp477 if (SkPointPriv::EqualsWithinTolerance(fPts[i], pt, tol)) { in onFindClickHandler()
/third_party/skia/tests/
DMatrixTest.cpp814 if (!SkPointPriv::EqualsWithinTolerance(v1[i], v2[i], 0.00001f)) { in check_decompScale()
DRoundRectTest.cpp219 SkPointPriv::EqualsWithinTolerance(rr2.radii((SkRRect::Corner) i), in test_round_rect_basic()