MiniGUI API Reference (MiniGUI-Standalone)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields

#include <common.h>

Data Fields

int left
 
int top
 
int right
 
int bottom
 

Detailed Description

A rectangle defined by coordinates of corners.

Note
The lower-right corner does not belong to the rectangle, i.e. the bottom horizontal line and the right vertical line are excluded from the retangle.
See also
PRECT, GAL_Rect

Definition at line 936 of file common.h.

Field Documentation

◆ bottom

int bottom

The y coordinate of the lower-right corner of the rectangle.

Definition at line 952 of file common.h.

◆ left

int left

The x coordinate of the upper-left corner of the rectangle.

Definition at line 940 of file common.h.

Referenced by PtInRect().

◆ right

int right

The x coordinate of the lower-right corner of the rectangle.

Definition at line 948 of file common.h.

◆ top

int top

The y coordinate of the upper-left corner of the rectangle.

Definition at line 944 of file common.h.

Referenced by PtInRect().


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