Mir
|
#include <output.h>
Classes | |
struct | PhysicalSizeMM |
Public Types | |
enum | Type { Type::unknown, Type::vga, Type::dvii, Type::dvid, Type::dvia, Type::composite, Type::svideo, Type::lvds, Type::component, Type::ninepindin, Type::displayport, Type::hdmia, Type::hdmib, Type::tv, Type::edp } |
Public Member Functions | |
Output (const mir::graphics::DisplayConfigurationOutput &output) | |
Output (Output const &) | |
Output & | operator= (Output const &) |
~Output () | |
auto | type () const -> Type |
The type of the output. More... | |
auto | physical_size_mm () const -> PhysicalSizeMM |
The physical size of the output. More... | |
auto | connected () const -> bool |
Whether the output is connected. More... | |
auto | used () const -> bool |
Whether the output is used in the configuration. More... | |
auto | pixel_format () const -> MirPixelFormat |
The current output pixel format. More... | |
auto | refresh_rate () const -> double |
refresh_rate in Hz More... | |
auto | power_mode () const -> MirPowerMode |
Current power mode. More... | |
auto | orientation () const -> MirOrientation |
auto | scale () const -> float |
Requested scale factor for this output, for HiDPI support. More... | |
auto | form_factor () const -> MirFormFactor |
Form factor of this output; phone display, tablet, monitor, TV, projector... More... | |
auto | extents () const -> Rectangle |
The logical rectangle occupied by the output, based on its position, current mode and orientation (rotation) More... | |
auto | id () const -> int |
Mir's internal output ID mostly useful for matching against a miral::WindowInfo::output_id. More... | |
auto | valid () const -> bool |
auto | is_same_output (Output const &other) const -> bool |
|
strong |
|
explicit |
miral::Output::Output | ( | Output const & | ) |
miral::Output::~Output | ( | ) |
auto miral::Output::connected | ( | ) | const -> bool |
Whether the output is connected.
auto miral::Output::extents | ( | ) | const -> Rectangle |
The logical rectangle occupied by the output, based on its position, current mode and orientation (rotation)
auto miral::Output::form_factor | ( | ) | const -> MirFormFactor |
Form factor of this output; phone display, tablet, monitor, TV, projector...
auto miral::Output::id | ( | ) | const -> int |
Mir's internal output ID mostly useful for matching against a miral::WindowInfo::output_id.
auto miral::Output::is_same_output | ( | Output const & | other | ) | const -> bool |
auto miral::Output::orientation | ( | ) | const -> MirOrientation |
auto miral::Output::physical_size_mm | ( | ) | const -> PhysicalSizeMM |
The physical size of the output.
auto miral::Output::pixel_format | ( | ) | const -> MirPixelFormat |
The current output pixel format.
auto miral::Output::power_mode | ( | ) | const -> MirPowerMode |
Current power mode.
auto miral::Output::refresh_rate | ( | ) | const -> double |
refresh_rate in Hz
auto miral::Output::scale | ( | ) | const -> float |
Requested scale factor for this output, for HiDPI support.
auto miral::Output::type | ( | ) | const -> Type |
The type of the output.
auto miral::Output::used | ( | ) | const -> bool |
Whether the output is used in the configuration.
auto miral::Output::valid | ( | ) | const -> bool |
Copyright © 2012-2022
Canonical Ltd.
Generated on Thu Jan 27 21:45:55 UTC 2022
This documentation is licensed under the GPL version 2 or 3.