class SetDisplayRotationCmdHACK
Defined at line 1526 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.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 Members
uint32_t compositor_id
uint32_t rotation_degrees
Public Methods
::std::unique_ptr<SetDisplayRotationCmdHACK> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetDisplayRotationCmdHACK * value, size_t _offset)
zx_status_t Clone (SetDisplayRotationCmdHACK * result)