class Layout
Defined at line 275 of file fidling/gen/sdk/fidl/fuchsia.ui.observation.geometry/fuchsia.ui.observation.geometry/cpp/fidl/fuchsia.ui.observation.geometry/cpp/natural_types.h
Geometric data of a view.
Note that these are server-side values, and some graphics APIs do not have
consistency guarantees with UI clients around when these values "take
effect". I.e., the UI client may need to be directly queried to learn what
values they are currently using. However, UI clients are expected to use
these values "immediately", within a few frames.
Public Methods
void Layout (Storage_ storage)
void Layout (::fuchsia_ui_observation_geometry::AlignedExtent extent, ::std::array<float, 2> pixel_scale, ::fuchsia_math::InsetF inset)
void Layout ()
Default constructs a |Layout| only if all of its members are default constructible.
Defined at line 286 of file fidling/gen/sdk/fidl/fuchsia.ui.observation.geometry/fuchsia.ui.observation.geometry/cpp/fidl/fuchsia.ui.observation.geometry/cpp/natural_types.h
void Layout (Layout && )
Defined at line 289 of file fidling/gen/sdk/fidl/fuchsia.ui.observation.geometry/fuchsia.ui.observation.geometry/cpp/fidl/fuchsia.ui.observation.geometry/cpp/natural_types.h
void Layout (const Layout & other)
Layout & operator= (Layout && )
Defined at line 290 of file fidling/gen/sdk/fidl/fuchsia.ui.observation.geometry/fuchsia.ui.observation.geometry/cpp/fidl/fuchsia.ui.observation.geometry/cpp/natural_types.h
Layout & operator= (const Layout & other)
bool operator== (const Layout & other)
bool operator!= (const Layout & other)
const ::fuchsia_ui_observation_geometry::AlignedExtent & extent ()
The minimal and maximal points of a view's bounding box, in the
coordinate system of that view.
::fuchsia_ui_observation_geometry::AlignedExtent & extent ()
The minimal and maximal points of a view's bounding box, in the
coordinate system of that view.
Layout & extent (::fuchsia_ui_observation_geometry::AlignedExtent value)
The minimal and maximal points of a view's bounding box, in the
coordinate system of that view.
const ::std::array<float, 2> & pixel_scale ()
The conversion ratio from physical pixels (of a display) to logical pixels
(of the coordinate system of the view).
::std::array<float, 2> & pixel_scale ()
The conversion ratio from physical pixels (of a display) to logical pixels
(of the coordinate system of the view).
Layout & pixel_scale (::std::array<float, 2> value)
The conversion ratio from physical pixels (of a display) to logical pixels
(of the coordinate system of the view).
const ::fuchsia_math::InsetF & inset ()
The offset data for the view's bounding box, in the coordinate system of
that view.
::fuchsia_math::InsetF & inset ()
The offset data for the view's bounding box, in the coordinate system of
that view.
Layout & inset (::fuchsia_math::InsetF value)
The offset data for the view's bounding box, in the coordinate system of
that view.
void Layout (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits