SRM  v0.11.0-1
Simple Rendering Manager
SRMBox Struct Reference

Structure representing a 2D bounding box. More...

#include <SRMTypes.hh>

Data Fields

Int32 x1
 X-coordinate of the left edge. More...
 
Int32 y1
 Y-coordinate of the top edge. More...
 
Int32 x2
 X-coordinate of the right edge. More...
 
Int32 y2
 Y-coordinate of the bottom edge. More...
 

Detailed Description

Structure representing a 2D bounding box.

Field Documentation

◆ x1

Int32 SRMBox::x1

X-coordinate of the left edge.

◆ y1

Int32 SRMBox::y1

Y-coordinate of the top edge.

◆ x2

Int32 SRMBox::x2

X-coordinate of the right edge.

◆ y2

Int32 SRMBox::y2

Y-coordinate of the bottom edge.