rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
|
Display information snapshot. More...
#include <Base.hpp>
Public Member Functions | |
const char * | name () const noexcept |
Get recorded display name. More... | |
geom::RectWH | bounds () const noexcept |
Get recorded display resolution. More... | |
geom::RectWH | usableBounds () const noexcept |
Get recorded display usable bounds. Excludes system decorations such as the menu bar and the dock. More... | |
float | ddpi () const noexcept |
Get recorded display diagonal DPI (dots per inch). More... | |
float | hdpi () const noexcept |
Get recorded display horizontal DPI (dots per inch). More... | |
float | vdpi () const noexcept |
Get recorded display vertical DPI (dots per inch). More... | |
Friends | |
Display | display::unsafe::byIndex (unsigned int i) |
rolmodl::sys::display::unsafe::byIndex() | |
Display information snapshot.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Get recorded display diagonal DPI (dots per inch).
|
noexcept |
Get recorded display horizontal DPI (dots per inch).
|
noexcept |
Get recorded display vertical DPI (dots per inch).