[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Working with Surfaces
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Working with Surfaces
- From: Tyler Laing <trinioler@xxxxxxxxx>
- Date: Mon, 18 May 2009 15:02:20 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 18 May 2009 18:02:26 -0400
- 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=rMp8Jlc+N1UznzX5Vtx4XPnkc9EceB2cWyGmbW2rGRU=; b=cyb3eGE7b/8hQxnz993FAmI6IC7NE3TwH16JHrJ1IRvhB2aZS3w2xGe+n1J0fwK9H7 4BDplikN5jYwM3/kd2bSwD5KGwyE+ETcm/yDwvolJQNV4mZ8IXTi3dY1bz9fodR4aJVx Y+mi0p+dRt9P3dl1zEufmwno8CekpTcIsWY8M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bv0ED9Fp64fcFQKDTsF9mpV6Kjj/9wmwxe7eE4p4lklGEdkXCpLXuQ0hirRimuwSTV CghE0d5ppFkWqGmhgwsUijADYmTbPrg6tr9EkHFLvlagaWomGwpVwO/haohapwxeRmja JTfmfs/Uil8wOHWim8xlTXeKiq78/WeDkwhr0=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello all,
I've got a bit of a brainteaser for you, maybe, and hopefully not.
Right now, through judicious use of ffplay code, I've got a large portion of the code written for a first draft version of the movie module. I changed the code where appropriate for our needs. Of course, that doesn't mean its been tested, or has even compiled yet. ;) However, I'm wondering which way I should go: Whether I should write to a pygame surface(say one passed on initialization), via the PySurface C methods, or to extract the rect and surface from the PySurface struct, and write to those instead. Which way would be safer/better/whatever?
-Tyler
Visit my blog at http://oddco.ca/zeroth/zblog