From: kramm Date: Fri, 29 Apr 2005 08:46:10 +0000 (+0000) Subject: fixed bounding box bug X-Git-Tag: release-0-7-0~120 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=3517626b913b0543bce4f9644005c1faba8d0580;p=swftools.git fixed bounding box bug fixed floating point rounding bug --- diff --git a/lib/gfxtools.c b/lib/gfxtools.c index 1e3c1aa..296bea1 100644 --- a/lib/gfxtools.c +++ b/lib/gfxtools.c @@ -473,8 +473,8 @@ void gfxdraw_cubicTo(gfxdrawer_t*draw, double c1x, double c1y, double c2x, doubl num = approximate3(&c, q, 128, maxerror*maxerror); for(t=0;tx; - y = line->x; + y = line->y; line = line->next; } return bbox;