[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] multi-width aalines and aacircles


it looks like there's one step in the pygame one which misses the aa
part.  If you zoom in on the image, you can see it fairly well.

The svg one has way more transparent pixels - and looks a bit fuzzy,
even jaggy in some parts(bottom lines going high left, to low right).

You can see the source for the pygame one here:

Search for the function called   int aalineColorInt(

It's *very* well commented.


On Mon, Mar 30, 2009 at 2:12 AM, pymike <pymike93@xxxxxxxxx> wrote:
> I think if you look at a real SVG aaline...
> http://upload.wikimedia.org/wikipedia/commons/thumb/8/8f/Simple_polygon.svg/588px-Simple_polygon.svg.png
> ...then look at the pygame one...
> http://rene.f0o.com/~rene/stuff/aapolygon.png
> ...the latter looks pretty rough.
> --
> - pymike