[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
SDL_gfx todo. Re: [pygame] Transparency and pygame.draw
- To: pygame-users@xxxxxxxx
- Subject: SDL_gfx todo. Re: [pygame] Transparency and pygame.draw
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Wed, 27 Aug 2008 10:25:31 +1000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 26 Aug 2008 20:25:36 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=vheEbL4cyzRnHjv2Jr0vXkQFq+S0/JZUmWiX0l2B2nI=; b=dLn1m+WwOexFln9oH0+Uvl336vS5CrehIl0KtHa7pmIppJXrNMtHA5uShLD2ZwPMCt oGjwULLyEyDZqEzlltGjd7lGhPqcBxdjsvVpmNd2rcSe7O20WCSKDa8hnu9C48R61s1a g5+E1MYUbrJb2C834XUo8NNY0t1NX20M74f3U=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=SLfmBS6XqcslNDEviwKxpV7N0VxTdVE72imves5sK4SmvdEcABZYMw0+LXolmWjImZ KPiAzxMyVm1Jgu6dmTVfwVlkw/iYkycs2ui04+4niwvlA5t+yamTrolA7BVg2FC1wctu QF2CMBIwoLif+EpYVqT7e2dwhe0U3EecPefDA=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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
>>
>