pub fn get_selection_bounds(selection: &Selection) -> (u16, i32, u16, i32)
Get the bounding box of a selection
Returns (min_x, min_y, max_x, max_y) representing the rectangular bounds