class ViewParameters
Defined at line 1032 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.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 Methods
void ViewParameters (Storage_ storage)
void ViewParameters (::fuchsia_ui_pointer::Rectangle view, ::fuchsia_ui_pointer::Rectangle viewport, ::std::array<float, 9> viewport_to_view_transform)
void ViewParameters ()
Default constructs a |ViewParameters| only if all of its members are default constructible.
Defined at line 1043 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.h
void ViewParameters (ViewParameters && )
Defined at line 1046 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.h
void ViewParameters (const ViewParameters & other)
ViewParameters & operator= (ViewParameters && )
Defined at line 1047 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/natural_types.h
ViewParameters & operator= (const ViewParameters & other)
bool operator== (const ViewParameters & other)
bool operator!= (const ViewParameters & other)
const ::fuchsia_ui_pointer::Rectangle & view ()
The view's area of content, placed in the coordinate system of the view.
The rectangle is defined by the parent view's setup of clipping on this
view.
::fuchsia_ui_pointer::Rectangle & view ()
The view's area of content, placed in the coordinate system of the view.
The rectangle is defined by the parent view's setup of clipping on this
view.
ViewParameters & view (::fuchsia_ui_pointer::Rectangle value)
The view's area of content, placed in the coordinate system of the view.
The rectangle is defined by the parent view's setup of clipping on this
view.
const ::fuchsia_ui_pointer::Rectangle & viewport ()
The viewport's area of interaction, placed in an independent coordinate
system.
A pointer event's position is defined in the coordinate system of this
viewport.
A change in viewport extents means the region for pointer interaction
has itself moved, or changed in size, or both.
::fuchsia_ui_pointer::Rectangle & viewport ()
The viewport's area of interaction, placed in an independent coordinate
system.
A pointer event's position is defined in the coordinate system of this
viewport.
A change in viewport extents means the region for pointer interaction
has itself moved, or changed in size, or both.
ViewParameters & viewport (::fuchsia_ui_pointer::Rectangle value)
The viewport's area of interaction, placed in an independent coordinate
system.
A pointer event's position is defined in the coordinate system of this
viewport.
A change in viewport extents means the region for pointer interaction
has itself moved, or changed in size, or both.
const ::std::array<float, 9> & viewport_to_view_transform ()
The transform matrix that relates a point's position in the viewport's
coordinate system to its position in the view's coordinate system.
::std::array<float, 9> & viewport_to_view_transform ()
The transform matrix that relates a point's position in the viewport's
coordinate system to its position in the view's coordinate system.
ViewParameters & viewport_to_view_transform (::std::array<float, 9> value)
The transform matrix that relates a point's position in the viewport's
coordinate system to its position in the view's coordinate system.
void ViewParameters (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits