openshot-audio  0.1.2
Public Attributes | List of all members
Desktop::Displays::Display Struct Reference

#include <juce_Desktop.h>

Public Attributes

Rectangle< int > userArea
 
Rectangle< int > totalArea
 
double scale
 
double dpi
 
bool isMain
 

Detailed Description

Contains details about a display device.

Member Data Documentation

◆ dpi

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.

◆ isMain

bool Desktop::Displays::Display::isMain

This will be true if this is the user's main screen.

◆ scale

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

◆ totalArea

Rectangle<int> Desktop::Displays::Display::totalArea

This is the total physical area of this display, including any taskbars, etc

◆ userArea

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.


The documentation for this struct was generated from the following file: