nicegraf
ngf_irect2d Struct Reference

Data Fields

int32_t x
 
int32_t y
 
uint32_t width
 
uint32_t height
 

Detailed Description

Represents a rectangular, axis-aligned 2D region with integer coordinates.

Field Documentation

◆ height

uint32_t ngf_irect2d::height

The size of the rectangle along the y-axis.

◆ width

uint32_t ngf_irect2d::width

The size of the rectangle along the x-axis.

◆ x

int32_t ngf_irect2d::x

X coord of lower-left corner.

◆ y

int32_t ngf_irect2d::y

Y coord of lower-left corner.