resvg_get_image_bbox method
@brief Returns an image bounding box.
Can be smaller or bigger than a viewbox
.
@param tree Render tree.
@param bbox Image's bounding box.
@return false
if an image has no elements.
Implementation
bool resvg_get_image_bbox(
ffi.Pointer<resvg_render_tree> tree,
ffi.Pointer<resvg_rect> bbox,
) {
return _resvg_get_image_bbox(
tree,
bbox,
);
}