summaryrefslogtreecommitdiff
path: root/mi/miwideline.h
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-08 12:18:37 -0700
committerJamey Sharp <jamey@minilop.net>2010-05-10 11:16:32 -0700
commit4272d6722c0f65bdfafc95e91cc2fdb8f6bd072e (patch)
tree7e876ce6b347300960074dc8b3a93d2e49e06305 /mi/miwideline.h
parent946f664b6ab421f69df3dc3213b14b085424c9e4 (diff)
Expand macros that are used only in miFillPolyHelper.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi/miwideline.h')
-rw-r--r--mi/miwideline.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/mi/miwideline.h b/mi/miwideline.h
index 1f615d689..41b8bb292 100644
--- a/mi/miwideline.h
+++ b/mi/miwideline.h
@@ -99,46 +99,6 @@ typedef struct _LineFace {
* macros for polygon fillers
*/
-#define MIPOLYRELOADLEFT if (!left_height && left_count) { \
- left_height = left->height; \
- left_x = left->x; \
- left_stepx = left->stepx; \
- left_signdx = left->signdx; \
- left_e = left->e; \
- left_dy = left->dy; \
- left_dx = left->dx; \
- --left_count; \
- ++left; \
- }
-
-#define MIPOLYRELOADRIGHT if (!right_height && right_count) { \
- right_height = right->height; \
- right_x = right->x; \
- right_stepx = right->stepx; \
- right_signdx = right->signdx; \
- right_e = right->e; \
- right_dy = right->dy; \
- right_dx = right->dx; \
- --right_count; \
- ++right; \
- }
-
-#define MIPOLYSTEPLEFT left_x += left_stepx; \
- left_e += left_dx; \
- if (left_e > 0) \
- { \
- left_x += left_signdx; \
- left_e -= left_dy; \
- }
-
-#define MIPOLYSTEPRIGHT right_x += right_stepx; \
- right_e += right_dx; \
- if (right_e > 0) \
- { \
- right_x += right_signdx; \
- right_e -= right_dy; \
- }
-
#define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \
oldPixel = pGC->fgPixel; \
if (pixel != oldPixel) { \