revert the offset for AA filled arcs
authorTony Cook <tony@develop=help.com>
Thu, 11 Mar 2010 02:16:53 +0000 (02:16 +0000)
committerTony Cook <tony@develop=help.com>
Thu, 11 Mar 2010 02:16:53 +0000 (02:16 +0000)
draw.c

diff --git a/draw.c b/draw.c
index 1d84d95..2aa28ff 100644 (file)
--- a/draw.c
+++ b/draw.c
@@ -358,7 +358,7 @@ i_arc_aa(i_img *im, double x, double y, double rad, double d1, double d2,
   double *xvals, *yvals;
   int count;
 
-  arc_poly(&count, &xvals, &yvals, x+0.5, y+0.5, rad, d1, d2);
+  arc_poly(&count, &xvals, &yvals, x, y, rad, d1, d2);
 
   i_poly_aa(im, count, xvals, yvals, val);