class TouchSource
Defined at line 90 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/markers.h
A method for a client to receive touch events and respond in a global
gesture disambiguation protocol.
The position of a touch event is defined in the context of a viewport,
situated in the view. The dimensions of the view and viewport, and their
spatial relationship (defined with a transform matrix), are supplied
synchronously in a |ViewParameter| table. A view may retrieve a pointer's
position in its local coordinate system by applying the viewport-to-view
transform matrix.
The viewport is embedded in an independent and stable coordinate system,
suitable for interpreting touch events in a scale-independent manner; a
swipe will be observed at a constant scale, even under effects such as
magnification or panning. However, other effects, such as enlargening the
view's clip bounds, may trigger a change in the viewport extents.
Public Members
static Openness kOpenness