Summary:
When resizes an image
if "fill_inside" and "aspect_fixed" in Elm_Image_Data struct are "TRUE",
extra width or height go outside of the object area.
The width or height on outside will be clipped.
@fix
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1794
evas_object_move(sd->img, x, y);
evas_object_image_fill_set(sd->img, 0, 0, w, h);
+
+ if (x < 0) w+=x;
+ if (y < 0) h+=y;
+
evas_object_resize(sd->img, w, h);
}
evas_object_move(sd->hit_rect, x, y);