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

Re: [pygame] Transparency and pygame.draw



I might have written the patch he was talking about... It's attached.

On Mon, Aug 18, 2008 at 6:26 PM, Luca <lucafbb@xxxxxxxxx> wrote:
> Maybe... I find this with google (but I don't find the patch Noah was
> talink about...)
>
> http://www.pygame.org/wiki/gsoc2008ideas#Better%20drawing%20primitives
>
> On Mon, Aug 18, 2008 at 11:43 PM, PyMike <pymike93@xxxxxxxxx> wrote:
>> 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/)
>>
>
>
>
> --
> -- luca
>

Attachment: gfxref.diff
Description: Binary data