added in-line horizontal processing prototype
[swftools.git] / lib / gfxpoly / wind.h
index 374b974..e1926ed 100644 (file)
@@ -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;