Home
last modified time | relevance | path

Searched refs:font_p (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.6.0/src/font/
Dlv_font.c49 const uint8_t * lv_font_get_glyph_bitmap(const lv_font_t * font_p, uint32_t letter) in lv_font_get_glyph_bitmap() argument
51 LV_ASSERT_NULL(font_p); in lv_font_get_glyph_bitmap()
52 return font_p->get_glyph_bitmap(font_p, letter); in lv_font_get_glyph_bitmap()
64 bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_out, uint32_t letter, in lv_font_get_glyph_dsc() argument
68 LV_ASSERT_NULL(font_p); in lv_font_get_glyph_dsc()
75 const lv_font_t * f = font_p; in lv_font_get_glyph_dsc()
111 dsc_out->box_w = font_p->line_height / 2; in lv_font_get_glyph_dsc()
120 dsc_out->box_h = font_p->line_height; in lv_font_get_glyph_dsc()
Dlv_font.h96 const uint8_t * lv_font_get_glyph_bitmap(const lv_font_t * font_p, uint32_t letter);
107 bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_out, uint32_t letter,
124 static inline lv_coord_t lv_font_get_line_height(const lv_font_t * font_p) in lv_font_get_line_height() argument
126 return font_p->line_height; in lv_font_get_line_height()
/lvgl-3.6.0/src/draw/sdl/
Dlv_draw_sdl_label.c34 const lv_font_t * font_p; member
42 static lv_font_glyph_key_t font_key_glyph_create(const lv_font_t * font_p, uint32_t letter);
61 const lv_font_t * font_p = dsc->font; in lv_draw_sdl_draw_letter() local
67 if(font_p == NULL) { in lv_draw_sdl_draw_letter()
73 bool g_ret = lv_font_get_glyph_dsc(font_p, &g, letter, '\0'); in lv_draw_sdl_draw_letter()
104 int32_t pos_y = pos_p->y + (font_p->line_height - font_p->base_line) - g.box_h - g.ofs_y; in lv_draw_sdl_draw_letter()
117 lv_font_glyph_key_t glyph_key = font_key_glyph_create(font_p, letter); in lv_draw_sdl_draw_letter()
123 font_p = g.resolved_font; in lv_draw_sdl_draw_letter()
125 const uint8_t * bmp = lv_font_get_glyph_bitmap(font_p, letter); in lv_draw_sdl_draw_letter()
178 static lv_font_glyph_key_t font_key_glyph_create(const lv_font_t * font_p, uint32_t letter) in font_key_glyph_create() argument
[all …]
/lvgl-3.6.0/src/draw/renesas/
Dlv_gpu_d2_draw_label.c235 const lv_font_t * font_p = dsc->font; in lv_draw_gpu_letter() local
241 if(font_p == NULL) { in lv_draw_gpu_letter()
247 bool g_ret = lv_font_get_glyph_dsc(font_p, &g, letter, '\0'); in lv_draw_gpu_letter()
274 const uint8_t * map_p = lv_font_get_glyph_bitmap(font_p, letter); in lv_draw_gpu_letter()
280 if(font_p->subpx) { in lv_draw_gpu_letter()