/external/skqp/src/pathops/ |
D | SkPathOpsPoint.h | 150 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyDEqual() 170 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyEqual() 190 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { in ApproximatelyEqual()
|
D | SkPathOpsWinding.cpp | 111 if (!approximately_equal(baseXY, boundsXY) && (baseXY < boundsXY) == checkLessThan) { in rayCheck() 128 if (!approximately_equal(baseXY, boundsXY) && (baseXY < boundsXY) == checkLessThan) { in rayCheck() 136 if (base.fSpan->segment() == this && approximately_equal(base.fT, t)) { in rayCheck() 145 } else if (approximately_equal(t, 1)) { in rayCheck() 156 if (!approximately_equal(baseXY, ptXY) && (baseXY < ptXY) == checkLessThan) { in rayCheck() 195 if (approximately_equal(tHit, next->t())) { in windingSpanAtT()
|
D | SkOpCubicHull.cpp | 22 if (approximately_equal(cubic[side1].fY, cubic[zero].fY)) { in rotate() 25 if (approximately_equal(cubic[side2].fY, cubic[zero].fY)) { in rotate()
|
D | SkDCubicLineIntersection.cpp | 174 if (!approximately_equal(calcPt.fY, axisIntercept)) { in HorizontalIntersect() 237 if (!approximately_equal(calcPt.fX, axisIntercept)) { in VerticalIntersect() 403 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { in pinTs() 405 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) { in pinTs()
|
D | SkReduceOrder.cpp | 131 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic() 140 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
|
D | SkPathOpsTypes.h | 392 inline bool approximately_equal(double x, double y) { in approximately_equal() function 417 return approximately_equal(x, y); in approximately_equal_squared()
|
D | SkPathOpsCubic.cpp | 73 } while (!approximately_equal(calcPos, axisIntercept)); in binarySearch() 378 if (approximately_equal(t[idx2], 1)) { in RootsValidT() 386 if (approximately_equal(t[idx2], 0)) { in RootsValidT()
|
/external/skqp/tests/ |
D | PathOpsDLineTest.cpp | 31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); in DEF_TEST() 32 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY)); in DEF_TEST()
|
D | PathOpsDVectorTest.cpp | 44 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length())); in DEF_TEST()
|
D | PathOpsDPointTest.cpp | 45 REPORTER_ASSERT(reporter, approximately_equal(pt.distance(p), in DEF_TEST()
|
D | PathOpsCubicReduceOrderTest.cpp | 40 return approximately_equal(cubic[maxX].fX, cubic[minX].fX) 41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
|
/external/skia/tests/ |
D | PathOpsDLineTest.cpp | 31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); in DEF_TEST() 32 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY)); in DEF_TEST()
|
D | PathOpsDVectorTest.cpp | 44 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length())); in DEF_TEST()
|
D | PathOpsDPointTest.cpp | 45 REPORTER_ASSERT(reporter, approximately_equal(pt.distance(p), in DEF_TEST()
|
D | PathOpsCubicReduceOrderTest.cpp | 40 return approximately_equal(cubic[maxX].fX, cubic[minX].fX) 41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
|
/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 156 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyDEqual() 176 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) { in approximatelyEqual() 196 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) { in ApproximatelyEqual()
|
D | SkPathOpsWinding.cpp | 112 if (!approximately_equal(baseXY, boundsXY) && (baseXY < boundsXY) == checkLessThan) { in rayCheck() 129 if (!approximately_equal(baseXY, boundsXY) && (baseXY < boundsXY) == checkLessThan) { in rayCheck() 137 if (base.fSpan->segment() == this && approximately_equal(base.fT, t)) { in rayCheck() 146 } else if (approximately_equal(t, 1)) { in rayCheck() 157 if (!approximately_equal(baseXY, ptXY) && (baseXY < ptXY) == checkLessThan) { in rayCheck() 196 if (approximately_equal(tHit, next->t())) { in windingSpanAtT()
|
D | SkOpCubicHull.cpp | 22 if (approximately_equal(cubic[side1].fY, cubic[zero].fY)) { in rotate() 25 if (approximately_equal(cubic[side2].fY, cubic[zero].fY)) { in rotate()
|
D | SkDCubicLineIntersection.cpp | 174 if (!approximately_equal(calcPt.fY, axisIntercept)) { in HorizontalIntersect() 237 if (!approximately_equal(calcPt.fX, axisIntercept)) { in VerticalIntersect() 403 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) { in pinTs() 405 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) { in pinTs()
|
D | SkReduceOrder.cpp | 131 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx) in check_quadratic() 140 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy) in check_quadratic()
|
D | SkPathOpsTypes.h | 392 inline bool approximately_equal(double x, double y) { in approximately_equal() function 417 return approximately_equal(x, y); in approximately_equal_squared()
|
/external/skia/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 87 static bool approximately_equal(float a, float b) { in approximately_equal() function 103 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { in check_quadratic() 109 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
|
/external/skqp/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 81 static bool approximately_equal(float a, float b) { in approximately_equal() function 97 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { in check_quadratic() 103 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
|
/external/skia/src/core/ |
D | SkEdgeBuilder.cpp | 62 auto approximately_equal = [](SkFixed a, SkFixed b) { in combineVertical() local 75 if (approximately_equal(edge->fUpperY, last->fLowerY)) { in combineVertical() 81 if (approximately_equal(edge->fUpperY, last->fUpperY)) { in combineVertical() 82 if (approximately_equal(edge->fLowerY, last->fLowerY)) { in combineVertical() 96 if (approximately_equal(edge->fLowerY, last->fLowerY)) { in combineVertical()
|
/external/skqp/src/core/ |
D | SkEdgeBuilder.cpp | 62 auto approximately_equal = [](SkFixed a, SkFixed b) { in combineVertical() local 75 if (approximately_equal(edge->fUpperY, last->fLowerY)) { in combineVertical() 81 if (approximately_equal(edge->fUpperY, last->fUpperY)) { in combineVertical() 82 if (approximately_equal(edge->fLowerY, last->fLowerY)) { in combineVertical() 96 if (approximately_equal(edge->fLowerY, last->fLowerY)) { in combineVertical()
|