ScaleWidget
Fields
- wd:WidgetData
- WidgetData
- init_options:InitOptions
- InitOptions
- scale:*f32
- *f32
- touchPoints:*[2]?dvui.Point.Physical
- *[2]?dvui.Point.Physical
- old_dist:?f32
- ?f32
- old_scale:f32
SAFETY: Will be set when
old_distis not null- layout:dvui.BasicLayout
- dvui.BasicLayout
Types
- PinchZoom
How ScaleWidget handles pinch zoom touch guesture.
Functions
- init
It's expected to call this when
selfisundefined