Searched refs:line_width (Results 1 – 9 of 9) sorted by relevance
/lvgl-3.7.0/src/widgets/ |
D | lv_line.c | 139 lv_coord_t line_width = lv_obj_get_style_line_width(obj, LV_PART_MAIN); in lv_line_event() local 141 if(*s < line_width) *s = line_width; in lv_line_event() 158 lv_coord_t line_width = lv_obj_get_style_line_width(obj, LV_PART_MAIN); in lv_line_event() local 159 w += line_width; in lv_line_event() 160 h += line_width; in lv_line_event()
|
/lvgl-3.7.0/src/draw/ |
D | lv_draw_label.c | 125 int32_t line_width = 0; in lv_draw_label() local 175 …line_width = lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, ds… in lv_draw_label() 177 pos.x += (lv_area_get_width(coords) - line_width) / 2; in lv_draw_label() 182 …line_width = lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, ds… in lv_draw_label() 183 pos.x += lv_area_get_width(coords) - line_width; in lv_draw_label() 342 line_width = in lv_draw_label() 345 pos.x += (lv_area_get_width(coords) - line_width) / 2; in lv_draw_label() 350 line_width = in lv_draw_label() 352 pos.x += lv_area_get_width(coords) - line_width; in lv_draw_label()
|
/lvgl-3.7.0/tests/src/test_cases/ |
D | test_line.c | 58 lv_coord_t line_width = lv_obj_get_style_line_width(line, LV_PART_MAIN); in test_line_size_should_be_updated_after_adding_points() local 59 calculated_width += line_width; in test_line_size_should_be_updated_after_adding_points() 60 calculated_height += line_width; in test_line_size_should_be_updated_after_adding_points()
|
D | test_textarea.c | 53 lv_coord_t line_width = lv_obj_get_width(txt_ptr->label); in test_textarea_should_update_label_style_with_one_line_enabled() local 54 lv_coord_t expected_size = left_padding + right_padding + line_width; in test_textarea_should_update_label_style_with_one_line_enabled()
|
/lvgl-3.7.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_rect.c | 243 lv_coord_t line_width; in lv_gpu_nxp_vglite_draw_border_generic() local 248 line_width = dsc->border_width; in lv_gpu_nxp_vglite_draw_border_generic() 253 line_width = dsc->outline_width; in lv_gpu_nxp_vglite_draw_border_generic() 264 err = vg_lite_set_stroke(&path, cap_style, join_style, line_width, 8, NULL, 0, 0, vgcol); in lv_gpu_nxp_vglite_draw_border_generic()
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | meter.md | 21 …e configured with: `lv_meter_set_scale_ticks(meter, scale, tick_count, line_width, tick_length, ti… 37 `indic = lv_meter_add_needle_line(meter, scale, line_width, line_color, r_mod)` adds a needle line …
|
/lvgl-3.7.0/src/extra/widgets/chart/ |
D | lv_chart.c | 1699 lv_coord_t line_width = lv_obj_get_style_line_width(obj, LV_PART_ITEMS); in invalidate_point() local 1704 coords.y1 -= line_width + point_w; in invalidate_point() 1705 coords.y2 += line_width + point_w; in invalidate_point() 1708 coords.x1 = ((w * i) / (chart->point_cnt - 1)) + x_ofs - line_width - point_w; in invalidate_point() 1709 coords.x2 = ((w * (i + 1)) / (chart->point_cnt - 1)) + x_ofs + line_width + point_w; in invalidate_point() 1714 coords.x1 = ((w * (i - 1)) / (chart->point_cnt - 1)) + x_ofs - line_width - point_w; in invalidate_point() 1715 coords.x2 = ((w * i) / (chart->point_cnt - 1)) + x_ofs + line_width + point_w; in invalidate_point()
|
/lvgl-3.7.0/src/extra/widgets/meter/ |
D | lv_meter.c | 454 lv_coord_t line_width = line_width_ori; in draw_ticks_and_labels() local 460 line_width += indic->type_data.scale_lines.width_mod; in draw_ticks_and_labels() 481 line_dsc.width = line_width; in draw_ticks_and_labels()
|
/lvgl-3.7.0/docs/overview/ |
D | style-props.md | 513 ### line_width subsection
|