X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fpoly.h;h=d1d51542b9ccba23f5f28a57efdc17b34c99727d;hp=270734f18f2340fc251a7828af5751f33514b447;hb=2cdbdbb4012575119c1a92e9c4662df9f4e81737;hpb=e0a27e1bd83ff2d60745dd6030e0f5ef7ef97b82 diff --git a/lib/gfxpoly/poly.h b/lib/gfxpoly/poly.h index 270734f..d1d5154 100644 --- a/lib/gfxpoly/poly.h +++ b/lib/gfxpoly/poly.h @@ -6,7 +6,7 @@ #include "../types.h" //#define DEBUG -//#define CHECKS +#define CHECKS /* features */ #define SPLAY @@ -16,10 +16,12 @@ typedef enum {DIR_UP, DIR_DOWN, DIR_UNKNOWN} segment_dir_t; typedef enum {EVENT_CROSS, EVENT_END, EVENT_START, EVENT_HORIZONTAL} eventtype_t; typedef enum {SLOPE_POSITIVE, SLOPE_NEGATIVE} slope_t; +#define INVALID_COORD (0x7fffffff) typedef struct _point { int32_t x; int32_t y; } point_t; +type_t point_type; typedef struct _fillstyle { void*internal;