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

Re: [pygame] multi-width aalines and aacircles



Ian Mallett wrote:
On Wed, Mar 25, 2009 at 11:47 AM, RB[0] <roebros@xxxxxxxxx <mailto:roebros@xxxxxxxxx>> wrote:

    You could do a filled polygon and then an aa one around it...

My suggestion exactly.  Too bad this doesn't work with circles...

But I think then you'd be getting a lot slower...
Well, here's the anti-aliased circle algorithm, with width, I found on the internet. aacircle.py is the program, aadraw.py the draw routines. It is much faster in its native Delphi.

Lenard

--
Lenard Lindstrom
<len-l@xxxxxxxxx>

Attachment: aacircle.py
Description: application/python

Attachment: aadraw.py
Description: application/python