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