Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/
Dlv_draw_label.c207 int32_t letter_w; in lv_draw_label() local
287 letter_w = lv_font_get_glyph_width(font, letter, letter_next); in lv_draw_label()
294 sel_coords.x2 = pos.x + letter_w + dsc->letter_space - 1; in lv_draw_label()
304 if(letter_w > 0) { in lv_draw_label()
305 pos.x += letter_w + dsc->letter_space; in lv_draw_label()
/lvgl-3.7.0/src/extra/widgets/span/
Dlv_span.c383 uint16_t letter_w = lv_font_get_glyph_width(font, letter, letter_next); in lv_spangroup_get_expand_width() local
384 width = width + letter_w + letter_space; in lv_spangroup_get_expand_width()
958 int32_t letter_w = lv_font_get_glyph_width(pinfo->font, letter, letter_next); in lv_draw_span() local
961 if(pos.x + letter_w + pinfo->letter_space < clip_area.x1) { in lv_draw_span()
962 if(letter_w > 0) { in lv_draw_span()
963 pos.x = pos.x + letter_w + pinfo->letter_space; in lv_draw_span()
968 if(ellipsis_valid && pos.x + letter_w + pinfo->letter_space > ellipsis_width) { in lv_draw_span()
980 if(letter_w > 0) { in lv_draw_span()
981 pos.x = pos.x + letter_w + pinfo->letter_space; in lv_draw_span()
/lvgl-3.7.0/src/misc/
Dlv_txt.c183 lv_coord_t letter_w; in lv_txt_get_next_word() local
207 letter_w = lv_font_get_glyph_width(font, letter, letter_next); in lv_txt_get_next_word()
208 cur_w += letter_w; in lv_txt_get_next_word()
210 if(letter_w > 0) { in lv_txt_get_next_word()
/lvgl-3.7.0/src/widgets/
Dlv_textarea.c1069 lv_coord_t letter_w = lv_font_get_glyph_width(font, letter_space, IGNORE_KERNING); in refr_cursor_area() local
1077 if(((letter_pos.x + ta->label->coords.x1) + letter_w > ta->label->coords.x2) && in refr_cursor_area()
1092 letter_w = lv_font_get_glyph_width(font, tmp, IGNORE_KERNING); in refr_cursor_area()
1108 cur_area.x2 = letter_pos.x + right + letter_w - 1; in refr_cursor_area()