Sint16 | x, y | Position of the upper-left corner of the rectangle |
Uint16 | w, h | The width and height of the rectangle |
A SDL_Rect defines a rectangular area of pixels. It is used by SDL_BlitSurface to define blitting regions and by several other video functions.