def bounding_box_use(svg, node, font_size):
    """Bounding box for use node."""
    from .defs import get_use_tree

    if (tree := get_use_tree(svg, node, font_size)) is None:
        return EMPTY_BOUNDING_BOX
    else:
        return bounding_box(svg, tree, font_size, True)
Bounding box for use node.
weasyprint/svg/bounding_box.py