MeVisLabToolboxReference
macx::Display Class Reference

Display related functions. More...

#include <macDisplay.h>

List of all members.

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)

Detailed Description

Display related functions.

Definition at line 14 of file macDisplay.h.


Member Function Documentation

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.


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