MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
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 843 of file common.h.

Field Documentation

int bottom

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

Definition at line 860 of file common.h.

int left

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

Definition at line 848 of file common.h.

Referenced by PtInRect().

int right

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

Definition at line 856 of file common.h.

int top

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

Definition at line 852 of file common.h.

Referenced by PtInRect().


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