Function resvg::resvg_get_image_bbox
source · #[no_mangle]
pub extern "C" fn resvg_get_image_bbox(
tree: *const resvg_render_tree,
bbox: *mut resvg_rect
) -> boolExpand description
@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.