That was what I saw when I first drew the filled polygon first.
Reversing the operation cleaned it up some, removing the holes. The
circle still has holes, but not so noticeable. But then this is just
from two quick test programs with large shapes.
Lenard
pymike wrote:
I've drawn aalines over polygons before, and it doesn't always look right.
http://pymike.pynguins.com/downloads/Screenshot-GeoStrike.png
Look closely at the edges :)
On Wed, Mar 25, 2009 at 2:09 PM, Lenard Lindstrom <le...@telus.net
<mailto:le...@telus.net>> wrote:
The results actually look good though, if one first draws the
outline, then the filled version. Circles not quit so good, but
better than with no anti-aliasing.
Lenard
RB[0] wrote:
You could do a filled polygon and then an aa one around it...
But I think then you'd be getting a lot slower...
On Wed, Mar 25, 2009 at 1:44 PM, Lenard Lindstrom
<le...@telus.net <mailto:le...@telus.net>
<mailto:le...@telus.net <mailto:le...@telus.net>>> wrote:
The aa polygon is not filled, and the filled polygon does
no aa.
Lenard
René Dudfield wrote:
good idea.
there's an aa-polygon in sdl gfx
On Wed, Mar 25, 2009 at 5:38 PM, Greg Ewing
<greg.ew...@canterbury.ac.nz
<mailto:greg.ew...@canterbury.ac.nz>
<mailto:greg.ew...@canterbury.ac.nz
<mailto:greg.ew...@canterbury.ac.nz>>> wrote:
Lenard Lindstrom wrote:
Yes, but we still need an aaline algorithm with
line
width.
Find an aa polygon algorithm and then use it to
draw line-shaped polygons.
-
--
Lenard Lindstrom
<le...@telus.net>