Home | History | Annotate | Download | only in core

Lines Matching refs:y0

36     SkFDot6 x0, y0, x1, y1;
42 y0 = int(p0.fY * scale);
48 y0 = p0.fY >> shift;
56 if (y0 > y1) {
58 SkTSwap(y0, y1);
62 int top = SkFDot6Round(y0);
74 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
75 const int dy = SkEdge_Compute_DY(top, y0);
92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1)
98 y0 >>= 10;
101 SkASSERT(y0 <= y1);
103 int top = SkFDot6Round(y0);
115 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
116 const int dy = SkEdge_Compute_DY(top, y0);
179 SkFDot6 x0, y0, x1, y1, x2, y2;
185 y0 = int(pts[0].fY * scale);
193 y0 = pts[0].fY >> shift;
202 if (y0 > y2)
205 SkTSwap(y0, y2);
208 SkASSERT(y0 <= y1 && y1 <= y2);
210 int top = SkFDot6Round(y0);
220 SkFDot6 dy = ((y1 << 1) - y0 - y2) >> 2;
262 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value
263 B = SkFDot6ToFixed(y1 - y0); // 1/2 the real value
265 fQy = SkFDot6ToFixed(y0);
339 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3;
345 y0 = int(pts[0].fY * scale);
355 y0 = pts[0].fY >> shift;
366 if (y0 > y3)
370 SkTSwap(y0, y3);
375 int top = SkFDot6Round(y0);
392 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3);
427 B = SkFDot6UpShift(3 * (y1 - y0), upShift);
428 C = SkFDot6UpShift(3 * (y0 - y1 - y1 + y2), upShift);
429 D = SkFDot6UpShift(y3 + 3 * (y1 - y2) - y0, upShift);
431 fCy = SkFDot6ToFixed(y0);