Home
last modified time | relevance | path

Searched refs:kCrossTolerance (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/utils/
DSkPolyUtils.cpp27 constexpr SkScalar kCrossTolerance = SK_ScalarNearlyZero * SK_ScalarNearlyZero; variable
35 if (!SkScalarNearlyZero(perpDot, kCrossTolerance)) { in compute_side()
56 if (SkScalarNearlyZero(quadArea, kCrossTolerance)) { in SkGetPolygonWinding()
93 if (SkScalarNearlyZero(denom, kCrossTolerance)) { in compute_intersection()
95 if (!SkScalarNearlyZero(w.cross(v0), kCrossTolerance) || in compute_intersection()
96 !SkScalarNearlyZero(w.cross(v1), kCrossTolerance)) { in compute_intersection()
265 if (SkScalarNearlyZero(denom, kCrossTolerance)) { in computeCrossingDistance()
534 if (cross > kCrossTolerance) { in aboveIfLeft()
536 } else if (cross < -kCrossTolerance) { in aboveIfLeft()
551 if (cross > kCrossTolerance) { in aboveIfLeft()
[all …]
/external/skia/src/utils/
DSkPolyUtils.cpp27 constexpr SkScalar kCrossTolerance = SK_ScalarNearlyZero * SK_ScalarNearlyZero; variable
35 if (!SkScalarNearlyZero(perpDot, kCrossTolerance)) { in compute_side()
56 if (SkScalarNearlyZero(quadArea, kCrossTolerance)) { in SkGetPolygonWinding()
100 if (SkScalarNearlyZero(denom, kCrossTolerance)) { in compute_intersection()
102 if (!SkScalarNearlyZero(w.cross(v0), kCrossTolerance) || in compute_intersection()
103 !SkScalarNearlyZero(w.cross(v1), kCrossTolerance)) { in compute_intersection()
276 if (SkScalarNearlyZero(denom, kCrossTolerance)) { in computeCrossingDistance()
564 if (cross > kCrossTolerance) { in aboveIfLeft()
566 } else if (cross < -kCrossTolerance) { in aboveIfLeft()
581 if (cross > kCrossTolerance) { in aboveIfLeft()
[all …]