first version of new polygon intersector
[swftools.git] / lib / gfxpoly / xrow.h
1 #ifndef __xrow_h__
2 #define __xrow_h__
3
4 #include <stdint.h>
5
6 typedef struct _xrow {
7     int32_t*x;
8     int num;
9     int size;
10 } xrow_t;
11
12 xrow_t* xrow_new();
13 void xrow_add(xrow_t*xrow, int32_t x);
14 void xrow_sort(xrow_t*xrow);
15 void xrow_reset(xrow_t*xrow);
16 void xrow_destroy(xrow_t*xrow);
17
18 #endif