Searched refs:clip_real (Results 1 – 1 of 1) sorted by relevance
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_img.c | 695 lv_area_t clip_real; in lv_img_design() local 696 …_lv_img_buf_get_transformed_area(&clip_real, lv_obj_get_width(img), lv_obj_get_height(img), angle_… in lv_img_design() 698 clip_real.x1 += img->coords.x1; in lv_img_design() 699 clip_real.x2 += img->coords.x1; in lv_img_design() 700 clip_real.y1 += img->coords.y1; in lv_img_design() 701 clip_real.y2 += img->coords.y1; in lv_img_design() 703 … if(_lv_area_intersect(&clip_real, &clip_real, clip_area) == false) return LV_DESIGN_RES_OK; in lv_img_design() 709 …for(; coords_tmp.y1 <= clip_real.y2; coords_tmp.y1 += zoomed_src_h, coords_tmp.y2 += zoomed_src_h)… in lv_img_design() 712 …for(; coords_tmp.x1 <= clip_real.x2; coords_tmp.x1 += zoomed_src_w, coords_tmp.x2 += zoomed_src_w)… in lv_img_design() 713 lv_draw_img(&coords_tmp, &clip_real, ext->src, &img_dsc); in lv_img_design()
|