Lines Matching refs:dy
74 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine() local
76 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
115 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in updateLine() local
117 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
149 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) in cheap_distance() argument
152 dy = SkAbs32(dy); in cheap_distance()
154 if (dx > dy) in cheap_distance()
155 dx += dy >> 1; in cheap_distance()
157 dx = dy + (dx >> 1); in cheap_distance()
161 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy) in diff_to_shift() argument
164 SkFDot6 dist = cheap_distance(dx, dy); in diff_to_shift()
218 SkFDot6 dy = ((y1 << 1) - y0 - y2) >> 2; in setQuadratic() local
219 shift = diff_to_shift(dx, dy); in setQuadratic()
280 SkFixed dy = fQDy; in updateQuadratic() local
291 newy = oldy + (dy >> shift); in updateQuadratic()
292 dy += fQDDy; in updateQuadratic()
307 fQDy = dy; in updateQuadratic()
384 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3); in setCubic() local
386 shift = diff_to_shift(dx, dy) + 1; in setCubic()