To get the bounding rect position and size for an Evas object

Some times, you may need to get the bounding rectangle's position and size, evas_object_geometry_get() can do this.
  int x,y,w,h;
  evas_object_geometry_get(ad->rect,&x,&y,&w,&h);
  LOGI("%d %d %d %d",x,y,w,h);

Responses

0 Replies