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

Re: [pygame] Transparency and pygame.draw



Will SDL_gfx ever be actually included in pygame?

On Mon, Aug 18, 2008 at 11:38 AM, Noah Kantrowitz <noah@xxxxxxxxxxxxxx> wrote:
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




--
- pymike (http://pymike.4rensics.org/)