Home
last modified time | relevance | path

Searched refs:R2MinusQ3 (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/tests/
DPathOpsCubicLineIntersectionIdeas.cpp127 double R2MinusQ3 = R2 - Q3;
128 *R2MinusQ3Ptr = R2MinusQ3;
178 double R2MinusQ3; in DEF_TEST()
179 if (r2check(A, B, C, D, &R2MinusQ3)) { in DEF_TEST()
180 smallestR2 = std::min(smallestR2, R2MinusQ3); in DEF_TEST()
181 largestR2 = std::max(largestR2, R2MinusQ3); in DEF_TEST()
/third_party/skia/src/pathops/
DSkPathOpsCubic.cpp455 double R2MinusQ3 = R2 - Q3; in RootsReal() local
459 if (R2MinusQ3 < 0) { // we have 3 real roots in RootsReal()
476 double sqrtR2MinusQ3 = sqrt(R2MinusQ3); in RootsReal()
/third_party/skia/src/core/
DSkGeometry.cpp966 SkScalar R2MinusQ3 = R * R - Q3; in solve_cubic_poly() local
969 if (R2MinusQ3 < 0) { // we have 3 real roots in solve_cubic_poly()
983 SkScalar A = SkScalarAbs(R) + SkScalarSqrt(R2MinusQ3); in solve_cubic_poly()