#[unsafe(no_mangle)]pub extern "C" fn resvg_get_node_bbox(
tree: *const resvg_render_tree,
id: *const c_char,
bbox: *mut resvg_rect,
) -> boolExpand description
@brief Returns node’s bounding box in canvas coordinates by ID.
@param tree Render tree.
@param id Node’s ID. Must not be NULL.
@param bbox Node’s bounding box.
@return false if a node with such an ID does not exist
@return false if ID isn’t a UTF-8 string.
@return false if ID is an empty string
@return false if the node has no bounding box, e.g. an empty group