[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] need help with chop function
- To: pygame-users@xxxxxxxx
- Subject: [pygame] need help with chop function
- From: Ryan Charpentier <ryancharpen@xxxxxxxxx>
- Date: Mon, 9 Jan 2006 22:54:28 -0800
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 10 Jan 2006 01:54:31 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GVBlx5DgXLX8Yz6/OeUgVBTkgakkAFj3ojNB2kuYTGPCNTNtrkslB/8lcksirdLvQDyGPG79BTRiEVjoyigHYxFhoSKZkvIw0If+in+b1Ncnb68qmGcq45kqFyi+/vA3RG3z+yiRUPv73NL9eBkOX9UYWZ4wAWZLzgtpbOWNMb8=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi all,
I'm trying to crop a surface so that it fits into a smaller area, so i figured that the pygame.transform.chop function is what I need. Problem is I can't seem to get it to do what I want.
Would someone mind giving me an example of how to use
pygame.transform.chop?
Ryan Charpentier