Lines Matching refs:snippet
415 lv_snippet_t snippet; /* use to save cur_span info and push it to stack */ in lv_spangroup_get_expand_height() local
416 memset(&snippet, 0, sizeof(snippet)); in lv_spangroup_get_expand_height()
440 snippet.span = cur_span; in lv_spangroup_get_expand_height()
441 snippet.font = lv_span_get_style_text_font(obj, cur_span); in lv_spangroup_get_expand_height()
442 snippet.letter_space = lv_span_get_style_text_letter_space(obj, cur_span); in lv_spangroup_get_expand_height()
443 snippet.line_h = lv_font_get_line_height(snippet.font) + line_space; in lv_spangroup_get_expand_height()
449 … bool isfill = lv_txt_get_snippet(&cur_txt[cur_txt_ofs], snippet.font, snippet.letter_space, in lv_spangroup_get_expand_height()
469 snippet.txt = &cur_txt[cur_txt_ofs]; in lv_spangroup_get_expand_height()
470 snippet.bytes = next_ofs; in lv_spangroup_get_expand_height()
471 snippet.txt_w = use_width; in lv_spangroup_get_expand_height()
473 if(max_line_h < snippet.line_h) { in lv_spangroup_get_expand_height()
474 max_line_h = snippet.line_h; in lv_spangroup_get_expand_height()
477 max_w = max_w - use_width - snippet.letter_space; in lv_spangroup_get_expand_height()
793 lv_snippet_t snippet; /* use to save cur_span info and push it to stack */ in lv_draw_span() local
794 lv_memset_00(&snippet, sizeof(snippet)); in lv_draw_span()
823 snippet.span = cur_span; in lv_draw_span()
824 snippet.font = lv_span_get_style_text_font(obj, cur_span); in lv_draw_span()
825 snippet.letter_space = lv_span_get_style_text_letter_space(obj, cur_span); in lv_draw_span()
826 snippet.line_h = lv_font_get_line_height(snippet.font) + line_space; in lv_draw_span()
832 … bool isfill = lv_txt_get_snippet(&cur_txt[cur_txt_ofs], snippet.font, snippet.letter_space, in lv_draw_span()
854 snippet.txt = &cur_txt[cur_txt_ofs]; in lv_draw_span()
855 snippet.bytes = next_ofs; in lv_draw_span()
856 snippet.txt_w = use_width; in lv_draw_span()
858 if(max_line_h < snippet.line_h) { in lv_draw_span()
859 max_line_h = snippet.line_h; in lv_draw_span()
860 max_baseline = snippet.font->base_line; in lv_draw_span()
863 lv_snippet_push(&snippet); in lv_draw_span()
864 max_w = max_w - use_width - snippet.letter_space; in lv_draw_span()