class SetDisplayRotationCmdHack
Defined at line 2796 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
Depending on the device, the display might be rotated
with respect to what the lower level device controller
considers the physical orientation of pixels. The
compositors and layers must be in alignment with the
underlying physical orientation which means that for
certain operations like screenshotting, they cannot
provide results with the accurate orientation unless
they have information about how the higher-level display
is orienting the screen. The only legal values for the
rotation are 0, 90, 180, and 270, which are each
applied counterclockwise.
Public Methods
void SetDisplayRotationCmdHack (Storage_ storage)
void SetDisplayRotationCmdHack (uint32_t compositor_id, uint32_t rotation_degrees)
void SetDisplayRotationCmdHack ()
Default constructs a |SetDisplayRotationCmdHack| only if all of its members are default constructible.
Defined at line 2806 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void SetDisplayRotationCmdHack (SetDisplayRotationCmdHack && )
Defined at line 2809 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
void SetDisplayRotationCmdHack (const SetDisplayRotationCmdHack & other)
SetDisplayRotationCmdHack & operator= (SetDisplayRotationCmdHack && )
Defined at line 2810 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
SetDisplayRotationCmdHack & operator= (const SetDisplayRotationCmdHack & other)
bool operator== (const SetDisplayRotationCmdHack & other)
bool operator!= (const SetDisplayRotationCmdHack & other)
uint32_t compositor_id ()
uint32_t & compositor_id ()
SetDisplayRotationCmdHack & compositor_id (uint32_t value)
Setter for compositor_id.
uint32_t rotation_degrees ()
uint32_t & rotation_degrees ()
SetDisplayRotationCmdHack & rotation_degrees (uint32_t value)
Setter for rotation_degrees.
void SetDisplayRotationCmdHack (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits