|
JUCE
|
Contains details about a display device. More...
Public Attributes | |
| Rectangle< int > | userArea |
| This is the bounds of the area of this display which isn't covered by OS-dependent objects like the taskbar, menu bar, etc. More... | |
| Rectangle< int > | totalArea |
| This is the total physical area of this display, including any taskbars, etc. More... | |
| double | scale |
| This is the scale-factor of this display. More... | |
| double | dpi |
| The DPI of the display. More... | |
| bool | isMain |
| This will be true if this is the user's main screen. More... | |
Contains details about a display device.
| Rectangle<int> Desktop::Displays::Display::userArea |
This is the bounds of the area of this display which isn't covered by OS-dependent objects like the taskbar, menu bar, etc.
| Rectangle<int> Desktop::Displays::Display::totalArea |
This is the total physical area of this display, including any taskbars, etc.
| double Desktop::Displays::Display::scale |
This is the scale-factor of this display.
If you create a component with size 1x1, this scale factor indicates the actual size of the component in terms of physical pixels. For higher-resolution displays, it may be a value greater than 1.0
| double Desktop::Displays::Display::dpi |
The DPI of the display.
This is the number of physical pixels per inch. To get the number of logical pixels per inch, divide this by the Display::scale value.
| bool Desktop::Displays::Display::isMain |
This will be true if this is the user's main screen.