openshot-audio
0.1.7
|
#include <juce_Desktop.h>
Public Attributes | |
Rectangle< int > | userArea |
Rectangle< int > | totalArea |
double | scale |
double | dpi |
bool | isMain |
Contains details about a display device.
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.
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
This is the total physical area of this display, including any taskbars, etc
This is the bounds of the area of this display which isn't covered by OS-dependent objects like the taskbar, menu bar, etc.