[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Bliting clip semantics
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Bliting clip semantics
- From: Hugo Arts <hugo.yoshi@xxxxxxxxx>
- Date: Tue, 17 Feb 2009 21:49:09 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 17 Feb 2009 22:49:11 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=DzNPdRaPp6t+bE93UY86ZfcwPOPHEIWAjWjcEvWZ9T8=; b=tSJyLUY6ufHO1vhhkIfnIN+wNf/etSYnFGSpNucOx5GNJNGfGJaUd9sYMeeTPUgtg4 K9vqq3HrTb15BmSukD1gbiDxffUDIn39GK057SFpCDLwQrVQJ8KsOYr0vqow6d1zA4Ox 039faYvxmy3CpZzJFeYgP31nrNT0Rb5HqvnTI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=J/w8gSPxEJgzPvD5lu9FG9vKT8uF1Z80fyn8/1FjCzEf04dWB747MX3Ec4qltDuk+s rWj0VPV0tC/9hluRXhrxRT47efZ0lTH9CgmXlNsyXX2G1oDb3upMl/8WteaE5FiG3cEJ iwzOtMoNEr1OezJGNwKhLVzm/zRY69ng/pjJU=
- In-reply-to: <499ACFDD.4070902@xxxxxxxxx>
- References: <499ACFDD.4070902@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
you can blit something that is not on the screen or even half on the
screen without problems. It will work as expected
On Tue, Feb 17, 2009 at 8:55 AM, Daniel Mateos <daniel@xxxxxxxxx> wrote:
> Hey All,
>
> I was just wondering if i can count on Surface.blit dealing with stuff i
> pass it that has co-ords greater than its drawable area like say i pass
> a rect of [200, 195, 10, 10] to a surface of size [200, 200].
>
> I ask because i notice it is working right now as expected with a
> function i use that only roughly checks if something is on the screen or
> not before it is blited and im not sure if i should bother to make it
> more accurate.
>
> Daniel
>