GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_markup Struct Reference

A text markup. More...

#include <gp_markup.h>

Collaboration diagram for gp_markup:
Collaboration graph
[legend]

Data Fields

uint32_t glyph_cnt
 Number of glyphs.
 
gp_markup_glyph glyphs []
 An array of glyphs.
 

Detailed Description

A text markup.

This represents a text with a markup.

Markups can be parsed from different formats with gp_markup_parse().

To display the text the markup needs to be dividies into lines, see gp_markup_justify().

Definition at line 97 of file gp_markup.h.

Field Documentation

◆ glyph_cnt

uint32_t gp_markup::glyph_cnt

Number of glyphs.

The size of the glyphs array.

Definition at line 103 of file gp_markup.h.

◆ glyphs

gp_markup_glyph gp_markup::glyphs[]

An array of glyphs.

The array is null terminated, i.e. the last glyph value is always 0.

Definition at line 109 of file gp_markup.h.

Referenced by gp_markup_builder_alloc().


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