[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Question regarding a Rect()-object
On 6/29/06, Luke Paireepinart <rabidpoobear@xxxxxxxxx> wrote:
"Assigning to size, width or height changes the dimensions of the
rectangle; all other assignments move the rectangle without resizing it.
Notice that some attributes are integers and others are pairs of integers."
Thank you for pointing this out. Earlier I was trying to read the
documentation but obviously missed that part.
Also, I never thought of creating a function that does the calculation
for absolute coordinates in a general manner. At 05:27am, the brain's
not what's it's supposed to be!
Thanks for the help.
--
Rikard.