diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-08 12:26:47 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-10 11:16:32 -0700 |
commit | ccdaecc5471cc2d56b1702eeed4280bb4d58c515 (patch) | |
tree | 4338a50d750501bb5bb144c2d329bdf306023452 /mi/miwideline.h | |
parent | 4272d6722c0f65bdfafc95e91cc2fdb8f6bd072e (diff) |
Move AppendSpanGroup from miwideline.h to miwideline.c.
Also make it stop being a macro.
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.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mi/miwideline.h b/mi/miwideline.h index 41b8bb292..1665ebfb1 100644 --- a/mi/miwideline.h +++ b/mi/miwideline.h @@ -31,30 +31,6 @@ from The Open Group. #include "mispans.h" #include "mifpoly.h" /* for ICEIL */ -/* - * interface data to span-merging polygon filler - */ - -typedef struct _SpanData { - SpanGroup fgGroup, bgGroup; -} SpanDataRec, *SpanDataPtr; - -#define AppendSpanGroup(pGC, pixel, spanPtr, spanData) { \ - SpanGroup *group, *othergroup = NULL; \ - if (pixel == pGC->fgPixel) \ - { \ - group = &spanData->fgGroup; \ - if (pGC->lineStyle == LineDoubleDash) \ - othergroup = &spanData->bgGroup; \ - } \ - else \ - { \ - group = &spanData->bgGroup; \ - othergroup = &spanData->fgGroup; \ - } \ - miAppendSpans (group, othergroup, spanPtr); \ -} - /* * Polygon edge description for integer wide-line routines */ |