[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] blit problem (bug?)
- To: pygame-users@seul.org
- Subject: Re: [pygame] blit problem (bug?)
- From: theGREENzebra <tgz@orotech.net>
- Date: Tue, 12 Nov 2002 22:39:40 -0500
- Delivered-To: archiver@seul.org
- Delivered-To: pygame-users-outgoing@seul.org
- Delivered-To: pygame-users@seul.org
- Delivery-Date: Tue, 12 Nov 2002 20:54:37 -0500
- Organization: Not organised at all =]
- References: <05958E11-EB1A-11D6-8DD6-000393848D12@mac.com> <3DBE4436.4060503@attbi.com> <3DD19A9F.3040909@acesoliton.com>
- Reply-To: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826
> 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!!!!
try [(0,64),(1024,768)]
--
* tgz@orotech.net * http://clickass.org * ICQ# 1107012 * AIM/Yahoo:
theGREENzebra * http://mp3.com/thegreenzebra
-----GEEK CODE 3.12-----
GCM/CS/IT/MU d? s: a22 C++++ UL++++ P+ L+++>$ E---- W++ N+ o K- w---$ O- M
V-- PS+ PE Y+ PGP- t++(+++) 5- X R tv(+) b+(-) DI+++ D+ G++ e h++ r+(---) y+
UF*++
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org