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

Re: [pygame] multi-width aalines and aacircles



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 <len-l@xxxxxxxxx <mailto:len-l@xxxxxxxxx>> 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.ewing@xxxxxxxxxxxxxxxx
        <mailto:greg.ewing@xxxxxxxxxxxxxxxx>> 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
<len-l@xxxxxxxxx>