[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pygame] blit problem (bug?)
- To: pygame-users@seul.org
- Subject: [pygame] blit problem (bug?)
- From: Guillaume Proux <gproux@acesoliton.com>
- Date: Wed, 13 Nov 2002 09:19:43 +0900
- Delivered-To: archiver@seul.org
- Delivered-To: pygame-users-outgoing@seul.org
- Delivered-To: pygame-users@seul.org
- Delivery-Date: Tue, 12 Nov 2002 19:20:09 -0500
- References: <05958E11-EB1A-11D6-8DD6-000393848D12@mac.com> <3DBE4436.4060503@attbi.com>
- Reply-To: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826
Hi,
I have a problem that I do not manage to solve yet after
many hours of trying and fiddling.
My screen is a 1024x768 bitmap.
I created an off-screen buffer of 1024x832 and want to blit a
part of this buffer into my screen
BUT
if i use
screen.blit(offscreenbuffer,(0,0)) # it works
but
screen.blit(offscreebuffer,(0,0),(0,64,1024,768))
Then only the first 704 pixels (in height) are blitted to the
screen....
as well,
screen.blit(offscreebuffer,(0,0),(0,64,1024,832))
gives the same result
It seems pygame clipped the blit to the dest_h-src_y!!!!
Anybody else to confirm this problem?
cheers,
Guillaume
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org