From: kramm Date: Sun, 6 Apr 2008 16:50:31 +0000 (+0000) Subject: increased number of lines in spline approximation- the renderings in the pdf2swf... X-Git-Tag: buttons-working~262 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=488cb093ce2c333962cd41c381745257aabda4d1 increased number of lines in spline approximation- the renderings in the pdf2swf GUI didn't look good enough --- diff --git a/lib/devices/render.c b/lib/devices/render.c index f8dbbe2..cf6c056 100644 --- a/lib/devices/render.c +++ b/lib/devices/render.c @@ -567,7 +567,7 @@ static void draw_line(gfxdevice_t*dev, gfxline_t*line) xx=x1; yy=y1; - parts = (int)(sqrt(c)/3); + parts = (int)(sqrt(c)); if(!parts) parts = 1; for(t=1;t<=parts;t++) {