Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/widgets/
Dlv_img.c583 lv_area_t bg_coords; in draw_img() local
587 lv_obj_get_coords(obj, &bg_coords); in draw_img()
590 _lv_img_buf_get_transformed_area(&bg_coords, obj_w, obj_h, in draw_img()
594 bg_coords.x1 += obj->coords.x1; in draw_img()
595 bg_coords.y1 += obj->coords.y1; in draw_img()
596 bg_coords.x2 += obj->coords.x1; in draw_img()
597 bg_coords.y2 += obj->coords.y1; in draw_img()
602 lv_area_copy(&obj->coords, &bg_coords); in draw_img()
627 img_max_area.x2 = img_max_area.x1 + lv_area_get_width(&bg_coords) - 1; in draw_img()
628 img_max_area.y2 = img_max_area.y1 + lv_area_get_height(&bg_coords) - 1; in draw_img()
[all …]
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_rect.c101 lv_area_t bg_coords; in draw_bg() local
102 lv_area_copy(&bg_coords, coords); in draw_bg()
106 bg_coords.x1 += (dsc->border_side & LV_BORDER_SIDE_LEFT) ? 1 : 0; in draw_bg()
107 bg_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in draw_bg()
108 bg_coords.x2 -= (dsc->border_side & LV_BORDER_SIDE_RIGHT) ? 1 : 0; in draw_bg()
109 bg_coords.y2 -= (dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? 1 : 0; in draw_bg()
113 if(!_lv_area_intersect(&clipped_coords, &bg_coords, draw_ctx->clip_area)) return; in draw_bg()
119 bool mask_any = lv_draw_mask_is_any(&bg_coords); in draw_bg()
126 blend_dsc.blend_area = &bg_coords; in draw_bg()
139 lv_coord_t coords_bg_w = lv_area_get_width(&bg_coords); in draw_bg()
[all …]