[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(FWD) Re: [pygame] Rect's real width and height
Whoops, our mail system broke briefly. But I kept a backup of bounced
messages, so here they are.
----- Forwarded message from Ludek Smid <ludek@sde.cz> -----
From: Ludek Smid <ludek@sde.cz>
Date: Fri, 14 Sep 2001 10:08:03 +0200
To: pygame-users@seul.org
Subject: Re: [pygame] Rect's real width and height
At 09:14 13.9.2001 -0700, you wrote:
> > Hey, this rect is actually 11 points width and 11 points height.
> > Am I missing something?
>
>heya ludek, no a keen observation. here's what's going on.
>in pygame. all the rect's "right" and "bottom" edges are
>non-inclusive. this may seem strange at first, but you'l
>find it's the way graphic libraries are commonly done.
OK. But I think, this should be noticed in documentation - some kind of
image with marked points on rectangle and highlighted width and height. I
am willing to draw it, if you want.
I've spend some time figuring out, why my widgets overlap. It would be
nice, that there will be noone else wasting his/her time on this issue.
Anyway - thaks for explanation.
Ludek
----- End forwarded message -----
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org