evas_object_image: fixed issue about x,y value when image drawing
authorsunghyun kim <scholb.kim@samsung.com>
Wed, 30 Nov 2016 04:44:04 +0000 (13:44 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 07:23:55 +0000 (16:23 +0900)
Change-Id: I02943ae616766deacbd4352ff927f690e324a175

src/lib/evas/canvas/evas_object_image.c

index 251014e..43f3c74 100644 (file)
@@ -3482,8 +3482,8 @@ _evas_image_render(Eo *eo_obj, Evas_Object_Protected_Data *obj,
                                              0, 0,
                                              imagew,
                                              imageh,
-                                             obj->cur->geometry.x + o->cur->fill.x,
-                                             obj->cur->geometry.y + o->cur->fill.y,
+                                             obj->cur->geometry.x + o->cur->fill.x + x,
+                                             obj->cur->geometry.y + o->cur->fill.y + y,
                                              o->cur->fill.w,
                                              o->cur->fill.h,
                                              o->cur->smooth_scale,