Home
last modified time | relevance | path

Searched refs:border_width (Results 1 – 11 of 11) sorted by relevance

/lvgl-2.7.6/src/lv_draw/
Dlv_draw_rect.c175 if(dsc->border_width > 1 && dsc->border_opa >= LV_OPA_MAX && dsc->radius != 0) { in draw_bg()
392 if(dsc->border_width == 0) return; in draw_border()
407 …ner.x1 += ((dsc->border_side & LV_BORDER_SIDE_LEFT) ? dsc->border_width : - (dsc->border_width + r… in draw_border()
408 …er.x2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : - (dsc->border_width + r… in draw_border()
409 …nner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : - (dsc->border_width + r… in draw_border()
410 …r.y2 -= ((dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? dsc->border_width : - (dsc->border_width + r… in draw_border()
452 int32_t rin = rout - dsc->border_width; in draw_border()
455 lv_draw_mask_radius_init(&mask_rin_param, &area_inner, rout - dsc->border_width, true); in draw_border()
458 int32_t corner_size = LV_MATH_MAX(rout, dsc->border_width - 1); in draw_border()
1336 lv_coord_t border_width = area_outer->x2 - area_inner->x2; in draw_full_border() local
[all …]
Dlv_draw_rect.h40 lv_style_int_t border_width; member
Dlv_draw_arc.c87 cir_dsc.border_width = width; in lv_draw_arc()
146 cir_dsc.border_width = 0; in lv_draw_arc()
/lvgl-2.7.6/src/lv_widgets/
Dlv_linemeter.c544 lv_style_int_t border_width = lv_obj_get_style_scale_border_width(lmeter, part); in lv_linemeter_draw_scale() local
547 if(border_width || end_border_width) { in lv_linemeter_draw_scale()
553 if(border_width) { in lv_linemeter_draw_scale()
554 arc_dsc.width = border_width; in lv_linemeter_draw_scale()
Dlv_table.c797 cell_area_border.x1 -= rect_dsc[cell_type].border_width / 2; in lv_table_design()
800 cell_area_border.y1 -= rect_dsc[cell_type].border_width / 2; in lv_table_design()
803 …cell_area_border.x2 += rect_dsc[cell_type].border_width / 2 + (rect_dsc[cell_type].border_width & … in lv_table_design()
807 …cell_area_border.y2 += rect_dsc[cell_type].border_width / 2 + (rect_dsc[cell_type].border_width & … in lv_table_design()
Dlv_textarea.c438 lv_style_int_t border_width = lv_obj_get_style_border_width(ta, LV_TEXTAREA_PART_CURSOR); in lv_textarea_del_char() local
439 lv_obj_set_width(ext->label, border_width == 0 ? 1 : border_width); in lv_textarea_del_char()
517 lv_style_int_t border_width = lv_obj_get_style_border_width(ta, LV_TEXTAREA_PART_CURSOR); in lv_textarea_set_text() local
518 lv_obj_set_width(ext->label, border_width == 0 ? 1 : border_width); in lv_textarea_set_text()
Dlv_chart.c865 if(bg_dsc.border_width != 0) { in draw_series_bg()
886 if(bg_dsc.border_width != 0) { in draw_series_bg()
942 area_dsc.border_width = 0; in draw_series_line()
Dlv_cpicker.c584 bg_dsc.border_width = 0; in draw_rect_grad()
/lvgl-2.7.6/src/lv_core/
Dlv_obj_style_dec.h126 _LV_OBJ_STYLE_SET_GET_DECLARE(BORDER_WIDTH, border_width, lv_style_int_t, _int, scalar) in _LV_OBJ_STYLE_SET_GET_DECLARE()
Dlv_refr.c685 draw_dsc.border_width = 2; in lv_refr_obj()
Dlv_obj.c3390 draw_dsc->border_width = lv_obj_get_style_border_width(obj, part);
3391 if(draw_dsc->border_width) {
3901 … if(draw_dsc.border_post && draw_dsc.border_opa >= LV_OPA_MIN && draw_dsc.border_width > 0) {