Jump to content
Go to the documentation of this file.
2 #ifndef SCANFILLINCLUDED
3 #define SCANFILLINCLUDED
43 #define BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) { \
56 incr1 = -2 * dx + 2 * (dy) * m1; \
57 incr2 = -2 * dx + 2 * (dy) * m; \
58 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \
62 incr1 = 2 * dx - 2 * (dy) * m1; \
63 incr2 = 2 * dx - 2 * (dy) * m; \
64 d = -2 * m * (dy) + 2 * dx; \
69 #define BRESINCRPGON(d, minval, m, m1, incr1, incr2) { \
106 #define BRESINITPGONSTRUCT(dmaj, min1, min2, bres) \
107 BRESINITPGON(dmaj, min1, min2, bres.minor, bres.d, \
108 bres.m, bres.m1, bres.incr1, bres.incr2)
110 #define BRESINCRPGONSTRUCT(bres) \
111 BRESINCRPGON(bres.d, bres.minor, bres.m, bres.m1, bres.incr1, bres.incr2)