Expand description
World-space bounding boxes for the current selection. Shared by the selection frames (drawn on the canvas) and the selection overlay (placed in screen space), so both agree on what region a selection occupies.
Functions§
- pins_
bounds 🔒 - The union of the drawn extent (stub + name/type/tag labels) of each pin. Needs the painter to measure label text.
- route_
bounds 🔒 - The bounding box of a route’s polyline, expanded slightly so an axis-aligned route (zero-width or zero-height bbox) still yields a usable region.
- selection_
world_ bounds - The world-space bounding box of whatever
selcovers, orNoneif it can’t be resolved. Used to place the selection overlay relative to the selection. - shapes_
bounds 🔒 - The union of the given shapes’
gui_rects, orNoneif none resolve.