Home
last modified time | relevance | path

Searched refs:line_w (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/src/misc/
Dlv_text.c331 int32_t line_w = 0; in lv_text_get_next_line() local
357 line_w += word_w; in lv_text_get_next_line()
378 line_w = lv_font_get_glyph_width(font, letter, '\0'); in lv_text_get_next_line()
383 *used_width = line_w; in lv_text_get_next_line()
/lvgl-latest/src/widgets/label/
Dlv_label.c576 …const int32_t line_w = lv_text_get_width_with_flags(&txt[line_start], new_line_start - line_start,… in lv_label_is_char_under_pos() local
578 x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; in lv_label_is_char_under_pos()
581 …const int32_t line_w = lv_text_get_width_with_flags(&txt[line_start], new_line_start - line_start,… in lv_label_is_char_under_pos() local
583 x += lv_area_get_width(&txt_coords) - line_w; in lv_label_is_char_under_pos()
1287 const int32_t line_w = lv_text_get_width_with_flags(txt, length, font, letter_space, flags); in calculate_x_coordinate() local
1288 *x += lv_area_get_width(txt_coords) / 2 - line_w / 2; in calculate_x_coordinate()
1291 const int32_t line_w = lv_text_get_width_with_flags(txt, length, font, letter_space, flags); in calculate_x_coordinate() local
1292 *x += lv_area_get_width(txt_coords) - line_w; in calculate_x_coordinate()