[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pygame] Rect's real width and height
Hi,
I think, there is something wrong...
>>> from pygame.locals import *
>>> r = Rect(10, 10, 10, 10)
>>> r
<rect(10, 10, 10, 10)>
>>> r.topleft
(10, 10)
>>> r.bottomright
(20, 20)
(The same is for all other rect's methods returning coordinates)
Hey, this rect is actually 11 points width and 11 points height. Am I
missing something?
Ludek
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org