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

#include <gdi.h>

Data Fields

int x
 
int y
 
int x_off
 
int y_off
 
int advance
 
Uint8 suppressed:1
 
Uint8 whitespace:1
 
Uint8 ellipsis:1
 
Uint8 orientation:2
 
Uint8 hanged:2
 

Detailed Description

The glyph position information.

Definition at line 13543 of file gdi.h.

Field Documentation

◆ advance

int advance

The line advance of the glyph.

Definition at line 13563 of file gdi.h.

◆ ellipsis

Uint8 ellipsis

Whether is an ellipsized glyph.

Definition at line 13575 of file gdi.h.

◆ hanged

Uint8 hanged

Whether hanged the glyph; can be one of the following values:

  • GLYPH_HANGED_NONE
    the glyph is not hanged.
  • GLYPH_HANGED_START
    the glyph is hanged at the start of the line.
  • GLYPH_HANGED_END
    the glyph is hanged at the end of the line.

Definition at line 13597 of file gdi.h.

◆ orientation

Uint8 orientation

The orientation of the glyph; can be one of the following values:

  • GLYPH_ORIENT_UPRIGHT
    the glyph is in the standard horizontal orientation.
  • GLYPH_ORIENT_SIDEWAYS
    the glyph rotates 90° clockwise from horizontal.
  • GLYPH_ORIENT_SIDEWAYS_LEFT
    the glyph rotates 90° counter-clockwise from horizontal.
  • GLYPH_ORIENT_UPSIDE_DOWN
    the glyph is upside down.

Definition at line 13587 of file gdi.h.

◆ suppressed

Uint8 suppressed

Whether suppress the glyph.

Definition at line 13567 of file gdi.h.

◆ whitespace

Uint8 whitespace

Whether is a whitespace glyph.

Definition at line 13571 of file gdi.h.

◆ x

int x

The x coordinate of the glyph position.

Definition at line 13547 of file gdi.h.

◆ x_off

int x_off

The x offset of the glyph position.

Definition at line 13555 of file gdi.h.

◆ y

int y

The y coordinate of the glyph position.

Definition at line 13551 of file gdi.h.

◆ y_off

int y_off

The y offset of the glyph position.

Definition at line 13559 of file gdi.h.


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