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

RE: [pygame] multi-width aalines and aacircles

> -----Original Message-----
> From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx] On
> Behalf Of Lenard Lindstrom
> Sent: Monday, March 23, 2009 6:07 PM
> To: pygame-users@xxxxxxxx
> Subject: Re: [pygame] multi-width aalines and aacircles
> None of the SDL_gfx functions has a line width argument that I could see.
> Lenard
> --
> Lenard Lindstrom
> len-l@xxxxxxxxx

Sure, but at least SDL_gfx gives you the tools you need to get there for AA
lines. A filled polygon, redraw the edges with an AA line, use some AA
circles to draw caps, and viola!

AA donuts would still be a pain, and require an offscreen buffer, which is

And, likely you'd ask for variable width AA bezier curves next, which also
isn't supported. That one may be because it's hard, though.

John Krukoff