Home | History | Annotate | Download | only in utils

Lines Matching defs:x0

26 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const {
29 if ((x0 < r.fLeft && x1 < r.fLeft) ||
30 (x0 > r.fRight && x1 > r.fRight) ||
37 if (r.contains(x0, y0) || r.contains(x1, y1)) {
45 vec.set(x1 - x0, y1 - y0);
46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY);
48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) {
90 int x0 = fPrevPt.fX;
96 if (this->sect_test(x0, y0, x, y)) {
97 line[0].set(x0, y0);
100 if (fPrevResult != kNo_Result && fPrevPt.equals(x0, y0)) {