Home | History | Annotate | Download | only in core

Lines Matching refs:y1

36     SkFDot6 x0, y0, x1, y1;
43 y1 = SkScalarRoundToFDot6(p1.fY, shift);
49 y1 = int(p1.fY * scale);
55 if (y0 > y1) {
57 SkTSwap(y0, y1);
62 int bot = SkFDot6Round(y1);
73 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
91 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1)
98 y1 >>= 10;
100 SkASSERT(y0 <= y1);
103 int bot = SkFDot6Round(y1);
114 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
178 SkFDot6 x0, y0, x1, y1, x2, y2;
185 y1 = SkScalarRoundToFDot6(pts[1].fY, shift);
193 y1 = int(pts[1].fY * scale);
206 SkASSERT(y0 <= y1 && y1 <= y2);
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
336 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3;
343 y1 = SkScalarRoundToFDot6(pts[1].fY, shift);
353 y1 = int(pts[1].fY * scale);
367 SkTSwap(y1, y2);
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);