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

Re: [pygame] Anti-aliased Circles



Yeah, it's in C.  Most of the pygame functions come from there.

Have a look at src/draw.c .  It should be pretty easy to copy in the
aacircle function from SDL_gfx and make a wrapper.

Otherwise, maybe ask someone who does C to do it for you :)

cu,

On Tue, Feb 26, 2008 at 4:23 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> On Mon, Feb 25, 2008 at 9:20 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
>
> > hi,
> >
> > there's aa circle code here:
> > http://www.ferzkopp.net/joomla/content/view/19/14/
> >
> Cool!  How do I use it?
> It is not in Python...
>
> > If someone is fairly quick, and wraps it (as in the next day or so)
> > then we can add it to pygame for the 1.8 release.
> >
> Cool!
> Ian
>