18 #if defined(__APPLE__)
Display related functions.
static bool getMainDisplayUsableFrame(unsigned int &outX, unsigned int &outY, unsigned int &outWidth, unsigned int &outHeight)
Determine current location and dimensions of the usable screen area (excluding dock and menu)
static double getMainDisplayBackingScaleFactor()
Returns the backing store pixel scale factor for the display.
static bool getMainDisplayDPI(double &outHorizontalDPI, double &outVerticalDPI)
Determine the horizontal and vertical DPI for the main monitor in its current display mode.
static bool getMainDisplayDimensions(unsigned int &outWidth, unsigned int &outHeight)
Determine dimensions of the main display in pixels.
static double getMaxBackingScaleFactor()
Returns the maximum backing store pixel scale factor for all displays.
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.