header file for artsutils.c
[swftools.git] / lib / devices / artsutils.h
diff --git a/lib/devices/artsutils.h b/lib/devices/artsutils.h
new file mode 100644 (file)
index 0000000..0375b82
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __artsutils_h__
+#define __artsutils_h__
+
+#include "../../config.h"
+#include "../art/libart.h"
+
+ArtVpath* gfxline_to_ArtVpath(gfxline_t*line);
+ArtSVP* gfxfillToSVP(gfxline_t*line, int perturb);
+void show_path(ArtSVP*path);
+ArtSVP* boxToSVP(double x1, double y1,double x2, double y2);
+ArtSVP* gfxstrokeToSVP(gfxline_t*line, gfxcoord_t width, gfx_capType cap_style, gfx_joinType joint_style, double miterLimit);
+gfxline_t* SVPtogfxline(ArtSVP*svp);
+
+#endif