Lines Matching refs:ry
36 bool SkOpAngle::calcSlop(double x, double y, double rx, double ry, bool* result) const{
51 double x_ry1 = x1 * ry;
56 double x_ry2 = x2 * ry;
73 double ry = rh.dy();
81 double y_ry = y * ry;
83 return COMPARE_RESULT("1 y * ry < 0", y < 0);
89 if (y < 0 && ry < 0) { // if y's are negative, lh x is smaller if positive
92 if (y >= 0 && ry >= 0) { // if y's are zero or positive, lh x is smaller if negative
95 SkASSERT((y == 0) ^ (ry == 0)); // if one y is zero and one is negative, neg y is smaller
100 if (y + ry < 0) { // if the other y is less than zero, it must be smaller
101 return COMPARE_RESULT("5 y_ry == 0 && y + ry < 0", y < 0);
103 if (y + ry > 0) { // if a y is greater than zero and an x is positive, non zero is smaller
104 return COMPARE_RESULT("6 y_ry == 0 && y + ry > 0", (x + rx > 0) ^ (y == 0));
113 && ry != -DBL_EPSILON) { // and not intersecting
130 double x_ry = x * ry;
133 if (!SkDLine::NearRay(x, y, rx, ry) && x_ry != rx_y) {
143 if ((!fComputed || calcSlop(x, y, rx, ry, &sloppy1))
144 && (!rh.fComputed || rh.calcSlop(rx, ry, x, y, &sloppy2))
169 && approximately_zero(ry) && approximately_zero(rx))) {