SRM  v0.10.0-1
Simple Rendering Manager
SRMRect Struct Reference

Structure representing a rectangle with integer coordinates. More...

#include <SRMTypes.hh>

Data Fields

Int32 x
 The x-coordinate of the top-left corner of the rectangle. More...
 
Int32 y
 The y-coordinate of the top-left corner of the rectangle. More...
 
Int32 width
 The width of the rectangle. More...
 
Int32 height
 The height of the rectangle. More...
 

Detailed Description

Structure representing a rectangle with integer coordinates.

Field Documentation

◆ x

Int32 SRMRect::x

The x-coordinate of the top-left corner of the rectangle.

◆ y

Int32 SRMRect::y

The y-coordinate of the top-left corner of the rectangle.

◆ width

Int32 SRMRect::width

The width of the rectangle.

◆ height

Int32 SRMRect::height

The height of the rectangle.