ganv_item_get_bounds

void ganv_item_get_bounds (GanvItem* item,
                           double* x1,
                           double* y1,
                           double* x2,
                           double* y2);
  

Queries the bounding box of a canvas item. The bounding box may not be exactly tight, but the canvas items will do the best they can. The bounds are returned in the coordinate system of the item's parent.

item

A canvas item.

x1

Leftmost edge of the bounding box (return value).

y1

Upper edge of the bounding box (return value).

x2

Rightmost edge of the bounding box (return value).

y2

Lower edge of the bounding box (return value).

Returns