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

Re: SDL_gfx todo. Re: [pygame] Transparency and pygame.draw



Thanks, I'll help with that soon...

You're planning on including the SDL_gfx codebase in pygame? Don't the
licenses conflict?

I agree it should be combined with pygame.draw though. This was just a
demonstration.

On Tue, Aug 26, 2008 at 8:25 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> hi,
>
> ah, nice one.  I missed this patch.
>
> So the todo list for this would be:
>
> - unit tests for all of these functions.
> - include SDL_gfx in a pygame sub directory, and make the pygame build
> system build SDL_gfx.
> - implement pygame.draw using the gfx module.
> - any bugfixes in the pygame draw/transform code should go into gfx module.
> - a review by other developers of code, and docs.
>
>
> cheers,
>
>
>
> On Tue, Aug 19, 2008 at 2:08 PM, Forrest Voight <voights@xxxxxxxxx> wrote:
>> 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
>>>
>>
>