Searched refs:bg_coords (Results 1 – 2 of 2) sorted by relevance
104 lv_area_t bg_coords; in draw_bg() local105 lv_area_copy(&bg_coords, coords); in draw_bg()109 bg_coords.x1 += (dsc->border_side & LV_BORDER_SIDE_LEFT) ? 1 : 0; in draw_bg()110 bg_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in draw_bg()111 bg_coords.x2 -= (dsc->border_side & LV_BORDER_SIDE_RIGHT) ? 1 : 0; in draw_bg()112 bg_coords.y2 -= (dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? 1 : 0; in draw_bg()116 if(!_lv_area_intersect(&clipped_coords, &bg_coords, draw_ctx->clip_area)) return; in draw_bg()122 bool mask_any = lv_draw_mask_is_any(&bg_coords); in draw_bg()129 blend_dsc.blend_area = &bg_coords; in draw_bg()143 lv_coord_t coords_bg_w = lv_area_get_width(&bg_coords); in draw_bg()[all …]
611 lv_area_t bg_coords; in draw_img() local615 lv_obj_get_coords(obj, &bg_coords); in draw_img()618 _lv_img_buf_get_transformed_area(&bg_coords, obj_w, obj_h, in draw_img()622 bg_coords.x1 += obj->coords.x1; in draw_img()623 bg_coords.y1 += obj->coords.y1; in draw_img()624 bg_coords.x2 += obj->coords.x1; in draw_img()625 bg_coords.y2 += obj->coords.y1; in draw_img()630 lv_area_copy(&obj->coords, &bg_coords); in draw_img()655 img_max_area.x2 = img_max_area.x1 + lv_area_get_width(&bg_coords) - 1; in draw_img()656 img_max_area.y2 = img_max_area.y1 + lv_area_get_height(&bg_coords) - 1; in draw_img()[all …]