MeVisLabToolboxReference
|
Display related functions. More...
#include <macDisplay.h>
Static Public Member Functions | |
static bool | getMainDisplayDimensions (unsigned int &outWidth, unsigned int &outHeight) |
Determine dimensions of the main display in pixels. | |
static bool | getMainDisplayDPI (double &outHorizontalDPI, double &outVerticalDPI) |
Determine the horizontal and vertical DPI for the main monitor in its current display mode. | |
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) |
Display related functions.
Definition at line 14 of file macDisplay.h.
static bool macx::Display::getMainDisplayDimensions | ( | unsigned int & | outWidth, |
unsigned int & | outHeight | ||
) | [static] |
Determine dimensions of the main display in pixels.
static bool macx::Display::getMainDisplayDPI | ( | double & | outHorizontalDPI, |
double & | outVerticalDPI | ||
) | [static] |
Determine the horizontal and vertical DPI for the main monitor in its current display mode.
static bool macx::Display::getMainDisplayUsableFrame | ( | unsigned int & | outX, |
unsigned int & | outY, | ||
unsigned int & | outWidth, | ||
unsigned int & | outHeight | ||
) | [static] |
Determine current location and dimensions of the usable screen area (excluding dock and menu)
The rectangle defines the portion of the screen in which it is currently safe to draw the application content.