Searched refs:approximately_zero_when_compared_to (Results 1 – 8 of 8) sorted by relevance
/external/skia/tests/ |
D | PathOpsCubicLineIntersectionIdeas.cpp | 102 && 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
|
D | PathOpsAngleIdeas.cpp | 254 return approximately_zero_when_compared_to(pt1.fX - pt2.fX, max) in equalPoints() 255 && approximately_zero_when_compared_to(pt1.fY - pt2.fY, max); in equalPoints()
|
/external/skia/src/pathops/ |
D | SkPathOpsCubic.cpp | 225 if (!approximately_zero_when_compared_to(distance, largest)) { in isLinear() 229 return approximately_zero_when_compared_to(distance, largest); in isLinear() 378 && approximately_zero_when_compared_to(A, B) in RootsReal() 379 && approximately_zero_when_compared_to(A, C) in RootsReal() 380 && approximately_zero_when_compared_to(A, D)) { // we're just a quadratic in RootsReal() 383 if (approximately_zero_when_compared_to(D, A) in RootsReal() 384 && approximately_zero_when_compared_to(D, B) in RootsReal() 385 && approximately_zero_when_compared_to(D, C)) { // 0 is one root in RootsReal()
|
D | SkPathOpsQuad.cpp | 156 return approximately_zero_when_compared_to(distance, largest); in isLinear()
|
D | SkPathOpsTypes.h | 299 inline bool approximately_zero_when_compared_to(double x, double y) { in approximately_zero_when_compared_to() function
|
D | SkDConicLineIntersection.cpp | 63 return approximately_zero_when_compared_to(a - b, max); in close_to()
|
D | SkPathOpsTSect.h | 619 if (approximately_zero_when_compared_to(test, maxVal)) { in linearIntersects()
|
/external/skia/src/core/ |
D | SkPath.cpp | 2238 static bool approximately_zero_when_compared_to(double x, double y) { in approximately_zero_when_compared_to() function 2331 if (!approximately_zero_when_compared_to(dCross, SkScalarToDouble(largest))) { in directionChange()
|