-void swfoutput_setlinewidth(struct swfoutput*, double linewidth);
-
-void swfoutput_drawchar(struct swfoutput*,double x,double y,char*a, int charnr);
-void swfoutput_drawpath(struct swfoutput*, T1_OUTLINE*outline, struct swfmatrix*m);
-#define LINE_CAP_BUTT 0
-#define LINE_CAP_ROUND 1
-#define LINE_CAP_SQUARE 2
-#define LINE_JOIN_MITER 0
-#define LINE_JOIN_ROUND 1
-#define LINE_JOIN_BEVEL 2
-void swfoutput_drawpath2poly(struct swfoutput*, T1_OUTLINE*outline, struct swfmatrix*m, int line_join, int line_cap, double line_width, double miter_limit);
-void swfoutput_startclip(struct swfoutput*, T1_OUTLINE*outline, struct swfmatrix*m);
+int swfoutput_drawchar(struct swfoutput*,double x,double y,char*a, int charnr, int u, gfxcolor_t* col);
+
+void swfoutput_drawgfxline(struct swfoutput*, gfxline_t*line, gfxcoord_t width, gfxcolor_t*col, gfx_capType cap_style, gfx_joinType joint_style, gfxcoord_t miterLimit);
+void swfoutput_fillgfxline(struct swfoutput*, gfxline_t*line, gfxcolor_t*col);
+void swfoutput_startclip(struct swfoutput*, gfxline_t*line);