X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fwind.h;h=e1926ed8fe3fecf0ba8c1762ca77c49d3320f372;hp=374b974b470a02c6e5ffe1d95b58cfee71d59ef0;hb=678260583255100b0dce559e0f8f2f813e6f162e;hpb=8d594217e92517a626bb5b06f23a3034df1c4453 diff --git a/lib/gfxpoly/wind.h b/lib/gfxpoly/wind.h index 374b974..e1926ed 100644 --- a/lib/gfxpoly/wind.h +++ b/lib/gfxpoly/wind.h @@ -7,6 +7,8 @@ the the (original) segment's y2 is larger than its y1 */ typedef enum {DIR_UP, DIR_DOWN, DIR_UNKNOWN} segment_dir_t; +#define DIR_INVERT(d) ((d)^=(DIR_UP^DIR_DOWN)) + typedef struct _edgestyle { void*internal; } edgestyle_t;