added a new stroke->polygon conversion function
[swftools.git] / lib / gfxpoly / convert.h
index eec362d..c1bb9c3 100644 (file)
@@ -2,6 +2,7 @@
 #define __poly_convert_h__
 
 #include "../gfxdevice.h"
+#include "../gfxtools.h"
 #include "poly.h"
 
 typedef struct _polywriter
@@ -13,6 +14,8 @@ typedef struct _polywriter
     void*internal;
 } polywriter_t;
 
+void gfxdrawer_target_poly(gfxdrawer_t*d, double gridsize);
+
 void gfxpolywriter_init(polywriter_t*w);
 gfxpoly_t* gfxpoly_from_gfxline(gfxline_t*line, double gridsize);
 gfxpoly_t* gfxpoly_from_file(const char*filename, double gridsize);