muteki
Loading...
Searching...
No Matches
ui_rect_s Struct Reference

Rectangle used to represent usable drawing area in an LCD descriptor. More...

#include <common.h>

Data Fields

short x0
 
short y0
 
short x1
 
short y1
 

Detailed Description

Rectangle used to represent usable drawing area in an LCD descriptor.

The area is double-inclusive (i.e. {0, 0, 479, 271} represents an area of 480x272 px).

Field Documentation

◆ x0

short ui_rect_s::x0

X coordinate of the top-left corner, in pixels (inclusive).

◆ x1

short ui_rect_s::x1

X coordinate of the bottom-right corner, in pixels (inclusive).

◆ y0

short ui_rect_s::y0

Y coordinate of the top-left corner, in pixels (inclusive).

◆ y1

short ui_rect_s::y1

Y coordinate of the bottom-right corner, in pixels (inclusive).


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