small bugfixes and memory optimizations
[swftools.git] / lib / gfxpoly / xrow.h
index cc32436..8021085 100644 (file)
@@ -3,15 +3,19 @@
 
 #include <stdint.h>
 
+#include "poly.h"
+
 typedef struct _xrow {
     int32_t*x;
     int num;
     int size;
+    int32_t lastx;
 } xrow_t;
 
 xrow_t* xrow_new();
 void xrow_add(xrow_t*xrow, int32_t x);
 void xrow_sort(xrow_t*xrow);
+void xrow_dump(xrow_t*xrow);
 void xrow_reset(xrow_t*xrow);
 void xrow_destroy(xrow_t*xrow);