Vireo  0.0
Vireo 3D Rendering Hardware Interface
Rect Struct Reference

Detailed Description

Structure specifying two-dimensional subregion

Public Member Functions

 Rect () = default
 
 Rect (const int32_t x, const int32_t y, const uint32_t w, const uint32_t h)
 
 Rect (const uint32_t w, const uint32_t h)
 

Public Attributes

int32_t x {0}
 Rect’s upper left corner (x,y). More...
 
int32_t y {0}
 Rect’s upper left corner (x,y). More...
 
uint32_t width {0}
 Rect’s width. More...
 
uint32_t height {0}
 Rect’s height. More...
 

Constructor & Destructor Documentation

Rect ( )
default
Rect ( const int32_t  x,
const int32_t  y,
const uint32_t  w,
const uint32_t  h 
)
inline
Rect ( const uint32_t  w,
const uint32_t  h 
)
inline

Member Data Documentation

uint32_t height {0}

Rect’s height.

uint32_t width {0}

Rect’s width.

int32_t x {0}

Rect’s upper left corner (x,y).

int32_t y {0}

Rect’s upper left corner (x,y).