Lines Matching refs:y0
30 SkFDot6 x0, y0, x1, y1;
36 y0 = int(p0.fY * scale);
42 y0 = p0.fY >> shift;
50 if (y0 > y1) {
52 SkTSwap(y0, y1);
56 int top = SkFDot6Round(y0);
68 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
70 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2
85 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1)
91 y0 >>= 10;
94 SkASSERT(y0 <= y1);
96 int top = SkFDot6Round(y0);
108 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
110 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2
171 SkFDot6 x0, y0, x1, y1, x2, y2;
177 y0 = int(pts[0].fY * scale);
185 y0 = pts[0].fY >> shift;
194 if (y0 > y2)
197 SkTSwap(y0, y2);
200 SkASSERT(y0 <= y1 && y1 <= y2);
202 int top = SkFDot6Round(y0);
212 SkFDot6 dy = ((y1 << 1) - y0 - y2) >> 2;
235 A = SkFDot6ToFixed(y0 - y1 - y1 + y2);
236 B = SkFDot6ToFixed(y1 - y0 + y1 - y0);
238 fQy = SkFDot6ToFixed(y0);
312 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3;
318 y0 = int(pts[0].fY * scale);
328 y0 = pts[0].fY >> shift;
339 if (y0 > y3)
343 SkTSwap(y0, y3);
348 int top = SkFDot6Round(y0);
365 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3);
400 B = SkFDot6UpShift(3 * (y1 - y0), upShift);
401 C = SkFDot6UpShift(3 * (y0 - y1 - y1 + y2), upShift);
402 D = SkFDot6UpShift(y3 + 3 * (y1 - y2) - y0, upShift);
404 fCy = SkFDot6ToFixed(y0);