Searched refs:bg_coords (Results 1 – 2 of 2) sorted by relevance
584 lv_area_t bg_coords; in draw_img() local588 lv_obj_get_coords(obj, &bg_coords); in draw_img()591 _lv_img_buf_get_transformed_area(&bg_coords, obj_w, obj_h, in draw_img()595 bg_coords.x1 += obj->coords.x1; in draw_img()596 bg_coords.y1 += obj->coords.y1; in draw_img()597 bg_coords.x2 += obj->coords.x1; in draw_img()598 bg_coords.y2 += obj->coords.y1; in draw_img()603 lv_area_copy(&obj->coords, &bg_coords); in draw_img()628 img_max_area.x2 = img_max_area.x1 + lv_area_get_width(&bg_coords) - 1; in draw_img()629 img_max_area.y2 = img_max_area.y1 + lv_area_get_height(&bg_coords) - 1; in draw_img()[all …]
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()142 lv_coord_t coords_bg_w = lv_area_get_width(&bg_coords); in draw_bg()[all …]