Home | History | Annotate | Download | only in core

Lines Matching refs:y0

36     SkFDot6 x0, y0, x1, y1;
41 y0 = SkScalarRoundToFDot6(p0.fY, shift);
47 y0 = int(p0.fY * scale);
55 if (y0 > y1) {
57 SkTSwap(y0, y1);
61 int top = SkFDot6Round(y0);
73 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
74 const SkFDot6 dy = SkEdge_Compute_DY(top, y0);
91 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1)
97 y0 >>= 10;
100 SkASSERT(y0 <= y1);
102 int top = SkFDot6Round(y0);
114 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
115 const SkFDot6 dy = SkEdge_Compute_DY(top, y0);
178 SkFDot6 x0, y0, x1, y1, x2, y2;
183 y0 = SkScalarRoundToFDot6(pts[0].fY, shift);
191 y0 = int(pts[0].fY * scale);
200 if (y0 > y2)
203 SkTSwap(y0, y2);
206 SkASSERT(y0 <= y1 && y1 <= y2);
208 int top = SkFDot6Round(y0);
218 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2;
260 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value
261 B = SkFDot6ToFixed(y1 - y0); // 1/2 the real value
263 fQy = SkFDot6ToFixed(y0);
336 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3;
341 y0 = SkScalarRoundToFDot6(pts[0].fY, shift);
351 y0 = int(pts[0].fY * scale);
362 if (y0 > y3)
366 SkTSwap(y0, y3);
371 int top = SkFDot6Round(y0);
384 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3);
419 B = SkFDot6UpShift(3 * (y1 - y0), upShift);
420 C = SkFDot6UpShift(3 * (y0 - y1 - y1 + y2), upShift);
421 D = SkFDot6UpShift(y3 + 3 * (y1 - y2) - y0, upShift);
423 fCy = SkFDot6ToFixed(y0);