|
const Display * | getDisplayForPoint (Point< int > point, bool isPhysical=false) const noexcept |
| Returns the Display object representing the display containing a given Point (either in logical or physical pixels), or nullptr if there are no connected displays. More...
|
|
const Display * | getDisplayForRect (Rectangle< int > rect, bool isPhysical=false) const noexcept |
| Returns the Display object representing the display containing a given Rectangle (either in logical or physical pixels), or nullptr if there are no connected displays. More...
|
|
const Display * | getPrimaryDisplay () const noexcept |
| Returns the Display object representing the display acting as the user's main screen, or nullptr if there are no connected displays. More...
|
|
RectangleList< int > | getRectangleList (bool userAreasOnly) const |
| Returns a RectangleList made up of all the displays in LOGICAL pixels. More...
|
|
Rectangle< int > | getTotalBounds (bool userAreasOnly) const |
| Returns the smallest bounding box which contains all the displays in LOGICAL pixels. More...
|
|
template<typename ValueType > |
Point< ValueType > | logicalToPhysical (Point< ValueType > logicalPoint, const Display *useScaleFactorOfDisplay=nullptr) const noexcept |
| Converts a Point from logical to physical pixels. More...
|
|
Rectangle< float > | logicalToPhysical (Rectangle< float > logicalRect, const Display *useScaleFactorOfDisplay=nullptr) const noexcept |
| Converts a floating-point Rectangle from logical to physical pixels. More...
|
|
Rectangle< int > | logicalToPhysical (Rectangle< int > logicalRect, const Display *useScaleFactorOfDisplay=nullptr) const noexcept |
| Converts an integer Rectangle from logical to physical pixels. More...
|
|
template<typename ValueType > |
Point< ValueType > | physicalToLogical (Point< ValueType > physicalPoint, const Display *useScaleFactorOfDisplay=nullptr) const noexcept |
| Converts a Point from physical to logical pixels. More...
|
|
Rectangle< float > | physicalToLogical (Rectangle< float > physicalRect, const Display *useScaleFactorOfDisplay=nullptr) const noexcept |
| Converts a floating-point Rectangle from physical to logical pixels. More...
|
|
Rectangle< int > | physicalToLogical (Rectangle< int > physicalRect, const Display *useScaleFactorOfDisplay=nullptr) const noexcept |
| Converts an integer Rectangle from physical to logical pixels. More...
|
|
Manages details about connected display devices.
@tags{GUI}