![]() |
tinyimg 1.1.1
Lightweight image manipulation library for WebAssembly
|
One styled span of a rich run. More...
#include <text.h>
Public Attributes | |
| const TinyFont * | font |
| const char * | text |
| const TinyTextStyle * | style |
| const uint8_t * | color |
One styled span of a rich run.
The unit a caller builds a mixed-style line out of: a bold word inside a sentence, a colored number after a label, a second face for a script the first one has no glyphs for.
| const uint8_t* TinyTextRun::color |
The fill color, or NULL for the one the draw was given.
| const TinyFont* TinyTextRun::font |
The face this span is set in.
| const TinyTextStyle* TinyTextRun::style |
How to set it, or NULL for the defaults at the face's own size.
| const char* TinyTextRun::text |
UTF-8, NUL terminated.