lv_vg_lite_bitmap_font_cache.h

API reference for lv_vg_lite_bitmap_font_cache.h

Report on GitHub
Summary

Functions

lv_vg_lite_bitmap_font_cache_get

Get the bitmap font cache entry for a given font and letter.

 
lv_draw_buf_t * lv_vg_lite_bitmap_font_cache_get(struct _lv_draw_vg_lite_unit_t *unit, const lv_font_glyph_dsc_t *g_dsc)
Parameters
NameTypeDescription
unitstruct _lv_draw_vg_lite_unit_t *pointer to the VG-Lite draw unit
g_dscconst lv_font_glyph_dsc_t *pointer to the glyph descriptor

Returns: lv_draw_buf_t * — pointer to the draw buffer containing the cached bitmap font glyph, or NULL if the glyph ID is 0 or if cache creation fails

Dependencies

How is this guide?

Last updated on

On this page