wl_output handler that collects information from the compositor and then passes it on when everything is available
More...
#include <Output.h>
|
| COutput (std::uint32_t globalName, wayland::output_t const &output, std::function< void()> doneHandler) |
|
wayland::output_t const & | GetWaylandOutput () const |
|
std::uint32_t | GetGlobalName () const |
|
CPointInt | GetPosition () const |
| Get output position in compositor coordinate space. More...
|
|
CSizeInt | GetPhysicalSize () const |
| Get output physical size in millimeters. More...
|
|
std::string const & | GetMake () const |
|
std::string const & | GetModel () const |
|
std::int32_t | GetScale () const |
|
std::set< Mode > const & | GetModes () const |
|
Mode const & | GetCurrentMode () const |
|
Mode const & | GetPreferredMode () const |
|
float | GetPixelRatioForMode (Mode const &mode) const |
|
float | GetDpiForMode (Mode const &mode) const |
|
float | GetCurrentDpi () const |
|
wl_output handler that collects information from the compositor and then passes it on when everything is available
◆ GetPhysicalSize()
CSizeInt KODI::WINDOWING::WAYLAND::COutput::GetPhysicalSize |
( |
| ) |
const |
|
inline |
Get output physical size in millimeters.
- Returns
- (width, height) tuple of output physical size in millimeters
◆ GetPosition()
CPointInt KODI::WINDOWING::WAYLAND::COutput::GetPosition |
( |
void |
| ) |
const |
|
inline |
Get output position in compositor coordinate space.
- Returns
- (x, y) tuple of output position
The documentation for this class was generated from the following files:
- xbmc/windowing/wayland/Output.h
- xbmc/windowing/wayland/Output.cpp