Lines Matching refs:y0
38 SkFDot6 x0, y0, x1, y1;
43 y0 = SkScalarRoundToFDot6(p0.fY, shift);
49 y0 = int(p0.fY * scale);
57 if (y0 > y1) {
60 swap(y0, y1);
64 int top = SkFDot6Round(y0);
76 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
77 const SkFDot6 dy = SkEdge_Compute_DY(top, y0);
94 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1)
100 y0 >>= 10;
103 SkASSERT(y0 <= y1);
105 int top = SkFDot6Round(y0);
117 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
118 const SkFDot6 dy = SkEdge_Compute_DY(top, y0);
182 SkFDot6 x0, y0, x1, y1, x2, y2;
187 y0 = SkScalarRoundToFDot6(pts[0].fY, shift);
195 y0 = int(pts[0].fY * scale);
204 if (y0 > y2)
208 swap(y0, y2);
211 SkASSERT(y0 <= y1 && y1 <= y2);
213 int top = SkFDot6Round(y0);
223 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2;
268 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value
269 B = SkFDot6ToFixed(y1 - y0); // 1/2 the real value
271 fQy = SkFDot6ToFixed(y0);
352 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3;
357 y0 = SkScalarRoundToFDot6(pts[0].fY, shift);
367 y0 = int(pts[0].fY * scale);
378 if (sortY && y0 > y3)
383 swap(y0, y3);
388 int top = SkFDot6Round(y0);
401 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3);
436 B = SkFDot6UpShift(3 * (y1 - y0), upShift);
437 C = SkFDot6UpShift(3 * (y0 - y1 - y1 + y2), upShift);
438 D = SkFDot6UpShift(y3 + 3 * (y1 - y2) - y0, upShift);
440 fCy = SkFDot6ToFixed(y0);