MT2523 API Reference  LinkIt SDK v4
gdi_font_engine_string_info_t Struct Reference

Define the string information structure to query. More...

#include <gdi_font_engine.h>

Data Fields

uint8_t * string
 A pointer to the Unicode string. More...
 
int32_t count
 The character counter to query. More...
 
int32_t width
 The string width. More...
 
int32_t height
 The string height. More...
 
int32_t baseline
 An imaginary line that is used to guide glyphs when rendering text. More...
 
int32_t max_ascent
 The distance from the baseline to the highest or upper coordinate used to place an outline point. More...
 
int32_t max_descent
 The distance from the baseline to the lowest coordinate used to place an outline point. More...
 
int32_t advance_width
 The horizontal distance to increment (for left-to-right writing) or decrement (for right-to-left writing) the pen position after a glyph has been rendered when processing the text. More...
 
int32_t advance_height
 The vertical distance to decrement the pen position after a glyph has been renderedd. More...
 

Detailed Description

Define the string information structure to query.

Field Documentation

int32_t advance_height

The vertical distance to decrement the pen position after a glyph has been renderedd.

int32_t advance_width

The horizontal distance to increment (for left-to-right writing) or decrement (for right-to-left writing) the pen position after a glyph has been rendered when processing the text.

int32_t baseline

An imaginary line that is used to guide glyphs when rendering text.

int32_t count

The character counter to query.

It must be set when passing this structure to gdi_font_engine_get_string_information.

int32_t height

The string height.

int32_t max_ascent

The distance from the baseline to the highest or upper coordinate used to place an outline point.

int32_t max_descent

The distance from the baseline to the lowest coordinate used to place an outline point.

uint8_t* string

A pointer to the Unicode string.

It must be set when passing this structure to gdi_font_engine_get_string_information.

int32_t width

The string width.


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