[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Some problems with the pygame.draw.line function?



> I would use rect.inflate_ip(x_val, y_val) to adjust the rect size
> manually (not sure if your code works correct).

Thanks for your tip. Although my code works, I find using inflate_ip method 
more "pygame-ic", then just adjusting the size by modifying the Rect object 
members.

The truth is that the app I'm working on is my first PyGame app. I just 
hadn't found that inflate_ip method in docs before you wrote about it.


Best regards,

	Tomek