added in-line horizontal processing prototype
[swftools.git] / lib / gfxpoly / xrow.h
index 51300a3..161c8aa 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <stdint.h>
 
+#include "poly.h"
+
 typedef struct _xrow {
     int32_t*x;
     int num;
@@ -11,8 +13,10 @@ typedef struct _xrow {
 } xrow_t;
 
 xrow_t* xrow_new();
+
 void xrow_add(xrow_t*xrow, int32_t x);
 void xrow_sort(xrow_t*xrow);
+char xrow_contains(xrow_t*xrow, int32_t x);
 void xrow_dump(xrow_t*xrow);
 void xrow_reset(xrow_t*xrow);
 void xrow_destroy(xrow_t*xrow);