Storage for rectangular coordinates.
class SDLRect
init | Storage for rectangular coordinates. |
h | height of the rectangle |
w | width of the rectangle |
x | the X coordinate (left position) |
y | the Y coordinate (top position) |
Storage for rectangular coordinates.
This class stores rectangular coordinates. Actually, this class is just a "contract" or "interface", as every function accepting an SDLRect will just accept any class providing the properties listed here.
Storage for rectangular coordinates.
This class stores rectangular coordinates. Actually, this class is just a "contract" or "interface", as every function accepting an SDLRect will just accept any class providing the properties listed here.
height of the rectangle
width of the rectangle
the X coordinate (left position)
the Y coordinate (top position)