Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/misc/
Dlv_txt.c104 uint16_t letter_height = lv_font_get_line_height(font); in lv_txt_get_size() local
110 …if((unsigned long)size_res->y + (unsigned long)letter_height + (unsigned long)line_space > LV_MAX_… in lv_txt_get_size()
115 size_res->y += letter_height; in lv_txt_get_size()
129 size_res->y += letter_height + line_space; in lv_txt_get_size()
134 size_res->y = letter_height; in lv_txt_get_size()
/lvgl-3.6.0/src/widgets/
Dlv_label.c320 lv_coord_t letter_height = lv_font_get_line_height(font); in lv_label_get_letter_pos() local
336 y += letter_height + line_space; in lv_label_get_letter_pos()
343 y += letter_height + line_space; in lv_label_get_letter_pos()
419 lv_coord_t letter_height = lv_font_get_line_height(font); in lv_label_get_letter_on() local
435 if(pos.y <= y + letter_height) { in lv_label_get_letter_on()
444 y += letter_height + line_space; in lv_label_get_letter_on()
539 lv_coord_t letter_height = lv_font_get_line_height(font); in lv_label_is_char_under_pos() local
553 if(pos->y <= y + letter_height) break; /*The line is found (stored in 'line_start')*/ in lv_label_is_char_under_pos()
554 y += letter_height + line_space; in lv_label_is_char_under_pos()