lv_font_manager_recycle.h
Typedefs
-
typedef struct _lv_font_manager_recycle_t lv_font_manager_recycle_t
Functions
-
lv_font_manager_recycle_t *lv_font_manager_recycle_create(uint32_t max_size)
Create font recycle manager.
- 参数:
max_size -- recycle size.
- 返回:
pointer to font recycle manager.
-
void lv_font_manager_recycle_delete(lv_font_manager_recycle_t *manager)
Delete font recycle manager.
- 参数:
manager -- pointer to font recycle manager.
-
lv_font_t *lv_font_manager_recycle_get_reuse(lv_font_manager_recycle_t *manager, const lv_freetype_info_t *ft_info)
Get a reusable font.
- 参数:
manager -- pointer to font recycle manager.
ft_info -- font info.
- 返回:
returns true on success.
-
void lv_font_manager_recycle_set_reuse(lv_font_manager_recycle_t *manager, lv_font_t *font, const lv_freetype_info_t *ft_info)
Set fonts to be reused.
- 参数:
manager -- pointer to font recycle manager.
ft_info -- font info.