Module rerun::external::re_ui::zoom_pan_area
source · Expand description
A small, self-container pan-and-zoom area for egui
.
Throughout this module, we use the following conventions or naming the different spaces:
ui
-space: The globalegui
space.view
-space: The space where the pan-and-zoom area is drawn.scene
-space: The space where the actual content is drawn.
Functions§
- Creates a transformation that fits a given scene rectangle into the available screen size.
- Provides a zoom-pan area for a given view.