From 3517626b913b0543bce4f9644005c1faba8d0580 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 29 Apr 2005 08:46:10 +0000 Subject: [PATCH] fixed bounding box bug fixed floating point rounding bug --- lib/gfxtools.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 1.7.10.4