[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] super surface... a surface made up of many smaller surfaces
- To: pygame-users@xxxxxxxx
- Subject: [pygame] super surface... a surface made up of many smaller surfaces
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Fri, 5 Mar 2010 15:40:17 +0000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 05 Mar 2010 10:40:28 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=uDidlJ4Ke8jzZgxmRC/PvP50loNSm6775cewb6xC138=; b=eQYppBgyJ3Nrw8jdH48aNbOypVBWzevTMVYGEiIDd+3KW1txP8ZBBHHSPe9fqWBZO8 xsv+kLBvaZmOxUhG49Z2eg1XCOc8Gm3jbt3QGH5I9srIupky3N+iQ79N89iWALr/lbki rug5z6Md+baGnS+28kUvg48NXcGKoNjbGUR5I=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=aQKWKZ47clkDJxEN3qsT71HP25is6rrL2mKPvh+ZhQ9THrGkLjHFn2KdOfNY/hOUB3 wwchcEi8kkb4OswQnqR0y4/K/au8pzoRrU3O1OTjDPFJbhIYKg7WcurTLfqcavEk2zON BQogEJYvP9lzIyIUzWzaOhcKMQuKZoMbJoaTU=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello,
pygame already has a subsurface, which is part of a larger surface.
It refers to the same pixels as the surface it comes from.
However, sometimes we would like to operate on a whole bunch of
smaller surfaces stuck together.
Unfortunately it's a lot harder to code compared to a subsurface.
Since a super surface would need to have all the surface affecting
routines changed to work with it.
For example, everything in the draw modules would need to be redone.
So would all of the surface methods.
Anyway, just an idea. Not sure I'd ever implement it.