May-14-2023, 01:53 PM
Hello eveyone,
Just a stupid question:
in many tutorials found on internet to draw object on the window we use surfaces and rectangles.
first we create a surface, then with the method getrect we create a rectangle around that surface,
but when i have to move the object we move only the rectangle, what it means?
We move only the rectangle, and the surface? Remain in the original position?
There is a way to combine thi two object and move them with a command?
But first of all why we create a surfaces for a rectangles? we cant' t create a big surface with the dimension of the window and on this big surface create rectangles?
Are a lot of question, but i don' t andurstand this surface - rectangle system
sorry for the bad english
Just a stupid question:
in many tutorials found on internet to draw object on the window we use surfaces and rectangles.
first we create a surface, then with the method getrect we create a rectangle around that surface,
but when i have to move the object we move only the rectangle, what it means?
We move only the rectangle, and the surface? Remain in the original position?
There is a way to combine thi two object and move them with a command?
But first of all why we create a surfaces for a rectangles? we cant' t create a big surface with the dimension of the window and on this big surface create rectangles?
Are a lot of question, but i don' t andurstand this surface - rectangle system
sorry for the bad english
