X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fdevices%2Farts.c;h=baf5cf06145eadd3d37a41692cd6349ec4cd1153;hp=34f38ced2bf807ad9f5eaa17ca90f6a745330b00;hb=b93de056e0b79f57c8f8fe22985b166c7d2c3dc3;hpb=a3eecab9e8f6a1b0b887f1bd082bd064f01ecffd diff --git a/lib/devices/arts.c b/lib/devices/arts.c index 34f38ce..baf5cf0 100644 --- a/lib/devices/arts.c +++ b/lib/devices/arts.c @@ -23,11 +23,14 @@ #include #include #include +#include +#include #include "../mem.h" #include "../gfxdevice.h" #include "../gfxtools.h" #include "../art/libart.h" -#include "artsutils.c" +#include "arts.h" +#include "artsutils.h" typedef struct _clip { ArtSVP*svp; @@ -41,6 +44,7 @@ typedef struct _internal { } internal_t; static int verbose = 0; + static void dbg(char*format, ...) { if(!verbose) @@ -336,6 +340,6 @@ void gfxdevice_union_init(gfxdevice_t*dev,gfxdevice_t*out) dev->finish = arts_finish; i->out = out; - i->svpunion = gfxstrokeToSVP(0, 0, 0, 0, 0); + i->svpunion = gfxstrokeToSVP(0, 0, gfx_capButt, gfx_joinMiter, 0); }