HomeSort by relevance Sort by last modified time
    Searched refs:approximately_equal (Results 1 - 19 of 19) sorted by null

  /external/skia/tests/
PathOpsDLineTest.cpp 31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX));
32 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
PathOpsDPointTest.cpp 45 REPORTER_ASSERT(reporter, approximately_equal(pt.distance(p),
PathOpsDVectorTest.cpp 44 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length()));
PathOpsCubicReduceOrderTest.cpp 40 return approximately_equal(cubic[maxX].fX, cubic[minX].fX)
41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
PathOpsTestCommon.cpp 85 if (!approximately_equal(inflectT[start], inflectT[next])) {
PathOpsAngleIdeas.cpp 97 if (approximately_equal(t, matchT)) {
242 if (approximately_equal(a1, a2)) {
    [all...]
  /external/skia/src/utils/win/
SkDWriteGeometrySink.cpp 81 static bool approximately_equal(float a, float b) { function
95 //NOTE: !approximately_equal(midX - cubic[3].x, dx23 * 3 / 2)
97 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) {
103 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) {
  /external/skia/src/pathops/
SkPathOpsPoint.h 145 // return approximately_equal(a.fY, fY) && approximately_equal(a.fX, fX);
148 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) {
168 if (approximately_equal(fX, a.fX) && approximately_equal(fY, a.fY)) {
188 if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) {
SkPathOpsWinding.cpp 109 if (!approximately_equal(baseXY, boundsXY) && (baseXY < boundsXY) == checkLessThan) {
126 if (!approximately_equal(baseXY, boundsXY) && (baseXY < boundsXY) == checkLessThan) {
134 if (base.fSpan->segment() == this && approximately_equal(base.fT, t)) {
143 } else if (approximately_equal(t, 1)) {
154 if (!approximately_equal(baseXY, ptXY) && (baseXY < ptXY) == checkLessThan) {
193 if (approximately_equal(tHit, next->t())) {
SkOpCubicHull.cpp 22 if (approximately_equal(cubic[side1].fY, cubic[zero].fY)) {
25 if (approximately_equal(cubic[side2].fY, cubic[zero].fY)) {
SkDCubicLineIntersection.cpp 174 if (!approximately_equal(calcPt.fY, axisIntercept)) {
237 if (!approximately_equal(calcPt.fX, axisIntercept)) {
403 if (gridPt == fCubic[0].asSkPoint() && approximately_equal(*cubicT, 0)) {
405 } else if (gridPt == fCubic[3].asSkPoint() && approximately_equal(*cubicT, 1)) {
SkReduceOrder.cpp 131 if (approximately_zero(sideAx) ? !approximately_equal(sideAx, sideBx)
140 if (approximately_zero(sideAy) ? !approximately_equal(sideAy, sideBy)
SkPathOpsTypes.h 392 inline bool approximately_equal(double x, double y) { function
417 return approximately_equal(x, y);
SkPathOpsCubic.cpp 74 } while (!approximately_equal(calcPos, axisIntercept));
381 if (approximately_equal(t[idx2], 1)) {
389 if (approximately_equal(t[idx2], 0)) {
SkDConicLineIntersection.cpp 303 if (fIntersections->used() > 0 && approximately_equal((*fIntersections)[1][0], *lineT)) {
SkDLineIntersection.cpp 17 if ((!startMatch && !endMatch) || approximately_equal(fT[0][0], fT[0][1])) {
SkDQuadLineIntersection.cpp 403 if (fIntersections->used() > 0 && approximately_equal((*fIntersections)[1][0], *lineT)) {
SkPathOpsQuad.cpp 117 if (approximately_equal(t[idx2], tValue)) {
SkOpAngle.cpp 331 if (!approximately_equal(oSpan->t(), checkEnd->t())) {
    [all...]

Completed in 2215 milliseconds