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

Re: [pygame] Antialiased circle



If someone can provide an algorithm that everyone is happy with then I will look at adding filled anti-aliased circles to Pygame. Personally, I am tired of searching the web for such
an algorithm myself.

Lenard Lindstrom

On 17/01/12 04:10 PM, Florian Krause wrote:
Is there also the possibility to draw filled anti-aliased circles? It
seems there isn't?

On Tue, Jan 17, 2012 at 10:23 PM, Silver<rockachu2@xxxxxxxxx>  wrote:
On 1/17/2012 12:17 PM, Nick Arnoeyts wrote:
Oh, here it is;
http://www.pygame.org/docs/ref/gfxdraw.html#pygame.gfxdraw.aacircle

Op 17 januari 2012 21:16 schreef Nick Arnoeyts<nickarnoeyts@xxxxxxxxx>  het
volgende:

If you want C++, I believe you'd have to use SDL_gfx / SDL_Draw or work
with pure pixels.

For pygame, look at the primitives module, I believe.

Op 17 januari 2012 21:14 schreef Silver<rockachu2@xxxxxxxxx>  het
volgende:

Does SDL have a function for this?

Thanks to both who answered!