Lines Matching refs:dy
74 * If the edge is moving to the right, then subtract dy from the
76 * If the edge is moving to the left, then add dy to the error term.
84 #define BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) do { \
91 if ((dy) != 0) { \
95 m = dx / (dy); \
97 incr1 = -2 * dx + 2 * (dy) * m1; \
98 incr2 = -2 * dx + 2 * (dy) * m; \
99 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \
101 m = dx / (dy); \
103 incr1 = 2 * dx - 2 * (dy) * m1; \
104 incr2 = 2 * dx - 2 * (dy) * m; \
105 d = -2 * m * (dy) + 2 * dx; \