X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxpoly%2Fwind.h;h=a07ed6424d4285924f41f255cd58fee38b9ed2ba;hb=HEAD;hp=374b974b470a02c6e5ffe1d95b58cfee71d59ef0;hpb=afeee73172d508d2e7e4efd028939e36356fbe8e;p=swftools.git diff --git a/lib/gfxpoly/wind.h b/lib/gfxpoly/wind.h index 374b974..a07ed64 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;