projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40068b3
)
revert the offset for AA filled arcs
author
Tony Cook
<tony@develop=help.com>
Thu, 11 Mar 2010 02:16:53 +0000
(
02:16
+0000)
committer
Tony Cook
<tony@develop=help.com>
Thu, 11 Mar 2010 02:16:53 +0000
(
02:16
+0000)
draw.c
patch
|
blob
|
blame
|
history
diff --git
a/draw.c
b/draw.c
index 1d84d956f4c09d82d89b868f9712bae64fd25274..2aa28ffd73ea4f840bf3204d48cf3905f891060e 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);