Home
last modified time | relevance | path

Searched refs:approximately_zero_when_compared_to (Results 1 – 15 of 15) sorted by relevance

/external/skqp/tests/
DPathOpsCubicLineIntersectionIdeas.cpp102 && approximately_zero_when_compared_to(A, B)
103 && approximately_zero_when_compared_to(A, C)
104 && approximately_zero_when_compared_to(A, D)) { // we're just a quadratic
107 if (approximately_zero_when_compared_to(D, A)
108 && approximately_zero_when_compared_to(D, B)
109 && approximately_zero_when_compared_to(D, C)) { // 0 is one root
DPathOpsAngleIdeas.cpp256 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max) in equalPoints()
257 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max); in equalPoints()
/external/skia/tests/
DPathOpsCubicLineIntersectionIdeas.cpp102 && approximately_zero_when_compared_to(A, B)
103 && approximately_zero_when_compared_to(A, C)
104 && approximately_zero_when_compared_to(A, D)) { // we're just a quadratic
107 if (approximately_zero_when_compared_to(D, A)
108 && approximately_zero_when_compared_to(D, B)
109 && approximately_zero_when_compared_to(D, C)) { // 0 is one root
DPathOpsAngleIdeas.cpp256 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max) in equalPoints()
257 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max); in equalPoints()
/external/skqp/src/pathops/
DSkPathOpsCubic.cpp224 if (!approximately_zero_when_compared_to(distance, largest)) { in isLinear()
228 return approximately_zero_when_compared_to(distance, largest); in isLinear()
414 && approximately_zero_when_compared_to(A, B) in RootsReal()
415 && approximately_zero_when_compared_to(A, C) in RootsReal()
416 && approximately_zero_when_compared_to(A, D)) { // we're just a quadratic in RootsReal()
419 if (approximately_zero_when_compared_to(D, A) in RootsReal()
420 && approximately_zero_when_compared_to(D, B) in RootsReal()
421 && approximately_zero_when_compared_to(D, C)) { // 0 is one root in RootsReal()
DSkPathOpsQuad.cpp196 return approximately_zero_when_compared_to(distance, largest); in isLinear()
DSkDConicLineIntersection.cpp64 return approximately_zero_when_compared_to(a - b, max); in close_to()
DSkPathOpsTypes.h378 inline bool approximately_zero_when_compared_to(double x, double y) { in approximately_zero_when_compared_to() function
DSkPathOpsTSect.cpp291 if (approximately_zero_when_compared_to(test, maxVal)) { in linearIntersects()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp225 if (!approximately_zero_when_compared_to(distance, largest)) { in isLinear()
229 return approximately_zero_when_compared_to(distance, largest); in isLinear()
416 && approximately_zero_when_compared_to(A, B) in RootsReal()
417 && approximately_zero_when_compared_to(A, C) in RootsReal()
418 && approximately_zero_when_compared_to(A, D)) { // we're just a quadratic in RootsReal()
421 if (approximately_zero_when_compared_to(D, A) in RootsReal()
422 && approximately_zero_when_compared_to(D, B) in RootsReal()
423 && approximately_zero_when_compared_to(D, C)) { // 0 is one root in RootsReal()
DSkPathOpsQuad.cpp196 return approximately_zero_when_compared_to(distance, largest); in isLinear()
DSkPathOpsTypes.h378 inline bool approximately_zero_when_compared_to(double x, double y) { in approximately_zero_when_compared_to() function
DSkDConicLineIntersection.cpp64 return approximately_zero_when_compared_to(a - b, max); in close_to()
DSkPathOpsTSect.cpp292 if (approximately_zero_when_compared_to(test, maxVal)) { in linearIntersects()
/external/skqp/src/core/
DSkPath.cpp2327 static bool approximately_zero_when_compared_to(double x, double y) { in approximately_zero_when_compared_to() function
2422 if (!approximately_zero_when_compared_to(dCross, SkScalarToDouble(largest))) { in directionChange()