A structure that contains the definition of a rectangle, with the origin at the upper left.
float |
x |
the x location of the rectangle's upper left corner |
float |
y |
the y location of the rectangle's upper left corner |
float |
w |
the width of the rectangle |
float |
h |
the height of the rectangle |
This function is available since SDL 2.0.10.
An SDL_FRect defines a rectangular area of the screen.