SRM v0.12.0-1
Simple Rendering Manager
Loading...
Searching...
No Matches
SRMBox Struct Reference

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

#include <SRMTypes.hh>

Data Fields

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

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.