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

RE: [pygame] Transparency and pygame.draw



No, but someone made bindings for SDL_gfx which does allow for this (and a
lot more). Check the list archives.

--Noah

> -----Original Message-----
> From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx]
> On Behalf Of Luca
> Sent: Monday, August 18, 2008 5:28 AM
> To: pygame-users@xxxxxxxx
> Subject: [pygame] Transparency and pygame.draw
> 
> Hi all.
> 
> Is possible to get transparency using primitive pygame.draw functions?
> 
> For me something like...
> pygame.draw.ellipse(screen, (0, 127, 0, 140), (300, 150, 80, 40), 0)
> ... where the color is given with a rgb+alpha value, simply doesn't
> work.
> 
> --
> -- luca