Lines Matching refs:dy
66 * If the edge is moving to the right, then subtract dy from the
68 * If the edge is moving to the left, then add dy to the error term.
76 #define BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) { \
83 if ((dy) != 0) { \
87 m = dx / (dy); \
89 incr1 = -2 * dx + 2 * (dy) * m1; \
90 incr2 = -2 * dx + 2 * (dy) * m; \
91 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \
93 m = dx / (dy); \
95 incr1 = 2 * dx - 2 * (dy) * m1; \
96 incr2 = 2 * dx - 2 * (dy) * m; \
97 d = -2 * m * (dy) + 2 * dx; \