SL_Rect Struct Reference

Structure defining a 2D rectangle with top-left corner coordinates and width/height in pixels. More...

Data Fields

int x
 x coordinates of top-left corner.
 
int y
 y coordinates of top-left corner.
 
int width
 Width of the rectangle in pixels.
 
int height
 Height of the rectangle in pixels.
 

Detailed Description

Structure defining a 2D rectangle with top-left corner coordinates and width/height in pixels.