Home
last modified time | relevance | path

Searched refs:line_height (Results 1 – 25 of 88) sorted by relevance

1234

/lvgl-latest/src/font/
Dlv_font.c103 dsc_out->box_w = font_p->line_height / 2; in lv_font_get_glyph_dsc()
111 dsc_out->box_h = font_p->line_height; in lv_font_get_glyph_dsc()
140 return font->line_height; in lv_font_get_line_height()
Dlv_font.h109 int32_t line_height; /**< The real line height where any text fits*/ member
Dlv_font_unscii_16.c629 .line_height = 17, /*The maximum line height required by the font*/
Dlv_font_unscii_8.c465 .line_height = 9, /*The maximum line height required by the font*/
/lvgl-latest/src/draw/
Dlv_draw_label.c191 dsc->pivot.y = font->line_height - font->base_line; in lv_draw_letter()
233 int32_t line_height = line_height_font + dsc->line_space; in lv_draw_label_iterate_characters() local
252 if(LV_ABS(dsc->hint->coord_y - coords->y1) > LV_LABEL_HINT_UPDATE_TH - 2 * line_height) { in lv_draw_label_iterate_characters()
274 pos.y += line_height; in lv_draw_label_iterate_characters()
443 bg_coords.y2 = pos.y + line_height - 1; in lv_draw_label_iterate_characters()
450 … fill_area.y1 = pos.y + font->line_height - font->base_line - font->underline_position; in lv_draw_label_iterate_characters()
460 …fill_area.y1 = pos.y + (font->line_height - font->base_line) * 2 / 3 + font->underline_thickness /… in lv_draw_label_iterate_characters()
516 pos.y += line_height; in lv_draw_label_iterate_characters()
566 letter_coords.y1 = pos->y + (font->line_height - font->base_line) - g.box_h - g.ofs_y; in lv_draw_unit_draw_letter()
/lvgl-latest/src/draw/nema_gfx/
Dlv_draw_nema_gfx_label.c423 int32_t line_height = line_height_font + dsc->line_space; in _draw_label_iterate_characters() local
442 if(LV_ABS(dsc->hint->coord_y - coords->y1) > LV_LABEL_HINT_UPDATE_TH - 2 * line_height) { in _draw_label_iterate_characters()
464 pos.y += line_height; in _draw_label_iterate_characters()
645 bg_coords.y2 = pos.y + line_height - 1; in _draw_label_iterate_characters()
652 … fill_area.y1 = pos.y + font->line_height - font->base_line - font->underline_position; in _draw_label_iterate_characters()
662 …fill_area.y1 = pos.y + (font->line_height - font->base_line) * 2 / 3 + font->underline_thickness /… in _draw_label_iterate_characters()
734 pos.y += line_height; in _draw_label_iterate_characters()
768 letter_coords.y1 = pos->y + (font->line_height - font->base_line) - g.box_h - g.ofs_y; in _draw_letter()
/lvgl-latest/src/others/imgfont/
Dlv_imgfont.c62 font->line_height = height; in lv_imgfont_create()
/lvgl-latest/demos/ebike/generated/
Dfont_ebike_130.c2778 .line_height = 104, /*The maximum line height required by the font*/
Dfont_ebike_56.c686 .line_height = 45, /*The maximum line height required by the font*/
/lvgl-latest/src/others/font_manager/
Dlv_font_manager.c273 (void *)font, (int)font->line_height); in lv_font_manager_delete_font_single()
433 (int)node->font.line_height, in lv_font_manager_check_resource()
468 LV_LOG_INFO("font: %p(%d) matched", (void *)font, (int)font->line_height); in lv_font_manager_search_rec_node()
/lvgl-latest/tests/src/test_cases/
Dtest_font_loader.c191 TEST_ASSERT_EQUAL_INT_MESSAGE(f1->line_height, f2->line_height, "line_height"); in compare_fonts()
/lvgl-latest/demos/benchmark/assets/
Dlv_font_benchmark_montserrat_12_compr_az.c.c308 .line_height = 13, /*The maximum line height required by the font*/
Dlv_font_benchmark_montserrat_16_compr_az.c.c346 .line_height = 15, /*The maximum line height required by the font*/
Dlv_font_benchmark_montserrat_28_compr_az.c.c497 .line_height = 26, /*The maximum line height required by the font*/
/lvgl-latest/src/libs/tiny_ttf/
Dlv_tiny_ttf.c133 font->line_height = (int32_t)(dsc->scale * (dsc->ascent - dsc->descent + line_gap)); in lv_tiny_ttf_set_size()
297 .size = font->line_height, in ttf_get_glyph_bitmap_cb()
/lvgl-latest/src/widgets/roller/
Dlv_roller.c554 …int32_t label_y_prop = (label->coords.y1 + normal_label_font->line_height / 2) - (roller_h / 2 + o… in draw_main()
558 int32_t remain_h = lv_obj_get_height(label) - normal_label_font->line_height; in draw_main()
565 int32_t corr = label_dsc.font->line_height; in draw_main()
/lvgl-latest/tests/src/test_assets/
Dtest_font_montserrat_ascii_4bpp.c1655 .line_height = 22, /*The maximum line height required by the font*/
Dtest_font_3.c938 .line_height = 22, /*The maximum line height required by the font*/
Dtest_font_montserrat_ascii_1bpp.c1014 .line_height = 22, /*The maximum line height required by the font*/
Dtest_font_montserrat_ascii_2bpp.c1238 .line_height = 22, /*The maximum line height required by the font*/
/lvgl-latest/demos/multilang/assets/fonts/
Dfont_multilang_large.c1909 .line_height = 23, /*The maximum line height required by the font*/
/lvgl-latest/src/libs/freetype/
Dlv_freetype.c179 font->line_height = FT_F26DOT6_TO_INT(face->size->metrics.height); in lv_freetype_font_create()
/lvgl-latest/demos/high_res/fonts/
Dfont_lv_demo_high_res_roboto_slab_light_80.c24320 .line_height = 84, /*The maximum line height required by the font*/
Dfont_lv_demo_high_res_roboto_slab_regular_20.c2387 .line_height = 22, /*The maximum line height required by the font*/
Dfont_lv_demo_high_res_roboto_slab_regular_30.c4127 .line_height = 32, /*The maximum line height required by the font*/

1234