Lines Matching refs:y0
26 bool SkCullPoints::sect_test(int x0, int y0, int x1, int y1) const {
31 (y0 < r.fTop && y1 < r.fTop) ||
32 (y0 > r.fBottom && y1 > r.fBottom)) {
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) {
91 int y0 = fPrevPt.fY;
96 if (this->sect_test(x0, y0, x, y)) {
97 line[0].set(x0, y0);
100 if (fPrevResult != kNo_Result && fPrevPt.equals(x0, y0)) {