lv_tiny_ttf.h

API reference for lv_tiny_ttf.h

Report on GitHub

Functions

lv_tiny_ttf_set_size

Set the size of the font to a new font_size

 
void lv_tiny_ttf_set_size(lv_font_t *font, int32_t font_size)
Parameters
NameTypeDescription
fontlv_font_t *the font object
font_sizeint32_tthe font size in pixel

the font bitmap cache and glyph cache will be flushed.

Structs

struct

lv_tiny_ttf_font_src_t

MemberTypeDescription
pathconst char *Path to the font file
dataconst void *Pointer to the font data
data_sizesize_tSize of the font data
cache_sizesize_tSize of the font cache

Variables

lv_tiny_ttf_font_class

 
const lv_font_class_t lv_tiny_ttf_font_class

Dependencies

Indirect dependencies

How is this guide?

Last updated on

On this page