lv_freetype.h
API reference for lv_freetype.h
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_freetype_private.h
Functions
libs/freetype/lv_freetype.h:128function
lv_freetype_outline_get_scale
Get the scale of a FreeType font.
uint32_t lv_freetype_outline_get_scale(const lv_font_t *font)| Name | Type | Description |
|---|---|---|
font | const lv_font_t * | The FreeType font to get the scale of. |
Returns: uint32_t — The scale of the FreeType font.
Enums
lv_freetype_font_style_t
| Name | Value |
|---|---|
LV_FREETYPE_FONT_STYLE_NORMAL | 0 |
LV_FREETYPE_FONT_STYLE_ITALIC | 1 << 0 |
LV_FREETYPE_FONT_STYLE_BOLD | 1 << 1 |
Used by 1 function
lv_freetype_font_create— paramstyle
lv_freetype_font_render_mode_t
| Name | Value |
|---|---|
LV_FREETYPE_FONT_RENDER_MODE_BITMAP | 0 |
LV_FREETYPE_FONT_RENDER_MODE_OUTLINE | 1 |
Used by 1 function
lv_freetype_font_create— paramrender_mode
lv_freetype_outline_type_t
| Name |
|---|
LV_FREETYPE_OUTLINE_END |
LV_FREETYPE_OUTLINE_MOVE_TO |
LV_FREETYPE_OUTLINE_LINE_TO |
LV_FREETYPE_OUTLINE_CUBIC_TO |
LV_FREETYPE_OUTLINE_CONIC_TO |
Typedefs
LV_FT_FONT_STYLE
typedef lv_freetype_font_style_t LV_FT_FONT_STYLElv_freetype_outline_t
typedef void* lv_freetype_outline_tlv_freetype_font_src_t
typedef const char lv_freetype_font_src_tMacros
LV_FREETYPE_F26DOT6_TO_INT
#define LV_FREETYPE_F26DOT6_TO_INT(x) \
((x) >> 6)LV_FREETYPE_F26DOT6_TO_FLOAT
#define LV_FREETYPE_F26DOT6_TO_FLOAT(x) \
((float)(x) / 64)FT_FONT_STYLE_NORMAL
#define FT_FONT_STYLE_NORMAL LV_FREETYPE_FONT_STYLE_NORMALFT_FONT_STYLE_ITALIC
#define FT_FONT_STYLE_ITALIC LV_FREETYPE_FONT_STYLE_ITALICFT_FONT_STYLE_BOLD
#define FT_FONT_STYLE_BOLD LV_FREETYPE_FONT_STYLE_BOLDVariables
libs/freetype/lv_freetype.h:66variable
lv_freetype_font_class
const lv_font_class_t lv_freetype_font_classDependencies
How is this guide?
Last updated on