[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] AGG library
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] AGG library
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Tue, 11 Mar 2008 12:08:37 +1100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 10 Mar 2008 21:08:42 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=MMz/JykK/jB/9eZlSqFvlQXXEMeT7qzDmEz4nUyQVUc=; b=XrD7XSTHlYATqccPpP/BIbM1BM+xEPrbLl6IKRXXd1FLsqkFWoXRdupL2dsudVU8H2xkofMt4m5gw1IeF9lRgpMCs56hIOvXdlumUVD6Afqju1zxBs2MWOdv+PnPEBkF+TlLmOBdUMNEae0PrrUd7fI+VZE48ZCtmV7fNE8MwCI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tcwmrhaIxUXBEe/eR6YGVBaRB1jGtZGZ8M4x2mlXMZLCCOWSArf/ofGYyla1xVedSahQywRZOjVHdq7Zb9n6S4bvvNHFUYQGRiK7CUicFBP1eH0a4QMnq3FnXiGzEfrJcpFF1joR13nufD9hyQZLGRblwvJbo532zGb9JYnKAyI=
- In-reply-to: <47D5D9E4.7020008@xxxxxxxxxxxxxxx>
- References: <47D5D9E4.7020008@xxxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Yeah, this could be done right now.
On Tue, Mar 11, 2008 at 12:01 PM, Douglas Bagnall
<douglas@xxxxxxxxxxxxxxx> wrote:
>
> I've not used it (nor have I fully followed this thread) but Fredrik
> Lundh has written a python AGG wrapper[1] which works on PIL
> images and other arrays.
>
> Rather than bringing everything into pygame, it seems better to me to
> expose internal pygame arrays to external libraries, perhaps using the
> Numpy array interface[2], so people can draw using whatever they want.
> Assuming that using AGG already implies a software surface, there
> doesn't need to be any overhead in accessing the pixel data from outside
> of pygame. Pygame doesn't really need to be anything but a good
> friendly SDL wrapper.
>
> probably missing something,
>
> Douglas
>
>
> [1]http://effbot.org/zone/aggdraw-index.htm
> [2]http://numpy.scipy.org/array_interface.shtml
>
>