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