DVUI

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_dist is 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 self is undefined