Home | History | Annotate | Download | only in pathops

Lines Matching defs:rx

36 bool SkOpAngle::calcSlop(double x, double y, double rx, double ry, bool* result) const{
52 double rx_y1 = rx * y1;
57 double rx_y2 = rx * y2;
87 double rx = rh.dx();
88 if (x * rx < 0) { // if x's are opposite signs, use y to determine first or second half
104 return COMPARE_RESULT("6 y_ry == 0 && y + ry > 0", (x + rx > 0) ^ (y == 0));
107 SkASSERT(x * rx != 0); // and a degenerate line should haven't gotten this far
127 double rx_y = rx * y;
136 if ((!fComputed || calcSlop(x, y, rx, ry, &sloppy1))
137 && (!rh.fComputed || rh.calcSlop(rx, ry, x, y, &sloppy2))
160 && approximately_zero(ry) && approximately_zero(rx))) {