class ViewParameters
Defined at line 1398 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
The parameters of the associated view and viewport, sufficient to correctly
interpret the position and scale of pointer events dispatched to this view.
Ordering. These parameters arrive over the same channel as pointer events,
to provide synchronous context for interpreting the position of pointer
events in the view's local coordinate system.
Inter-protocol redundancy. Some of these parameters may also be sent over an
independent channel dedicated to view control; the client is responsible for
correct use of asynchronously received parameters.
TODO(https://fxbug.dev/42162292): Rename viewport, it is used in Flatland.
Public Members
Rectangle view
Rectangle viewport
array viewport_to_view_transform
Public Methods
::std::unique_ptr<ViewParameters> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ViewParameters * value, size_t _offset)
zx_status_t Clone (ViewParameters * result)