elementary transit: more optimal api call.

come to think of it, we have a size get api...
This commit is contained in:
Hermet Park 2016-11-04 20:25:24 +09:00
parent c446df487f
commit 7cdc247b51
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ _recover_image_uv(Evas_Object *obj, Evas_Map *map, Eina_Bool revert, Eina_Bool b
else
{
efl_gfx_fill_get(obj, &fill_x, &fill_y, &fill_w, &fill_h);
efl_gfx_geometry_get(obj, NULL, NULL, &w, &h);
efl_gfx_size_get(obj, &w, &h);
double rate_x = (double) w / (double) fill_w;
double rate_y = (double) h / (double) fill_h;