ESP32 VGA Controller and Graphics Library
fabgl::Rect Struct Reference

Represents a rectangle. More...

#include <fabutils.h>

Public Attributes

int16_t X1
int16_t X2
int16_t Y1
int16_t Y2

Detailed Description

Represents a rectangle.

Top and Left coordinates start from 0.

Member Data Documentation

◆ X1

int16_t fabgl::Rect::X1

Horizontal top-left coordinate

◆ X2

int16_t fabgl::Rect::X2

Horizontal bottom-right coordinate

◆ Y1

int16_t fabgl::Rect::Y1

Vertical top-left coordinate

◆ Y2

int16_t fabgl::Rect::Y2

Vertical bottom-right coordinate

The documentation for this struct was generated from the following file: