The osxDisplayDevice class is a platform specific subclass of DisplayDevice which is implemented to work with Display devices on the osx platforms.
More...
#include <osxDisplayDevice.h>
|
| osxDisplayDevice (URI uri) |
|
| osxDisplayDevice (CGDirectDisplayID did) |
|
Bounds | getBounds (Bounds *defval=0) |
|
Size | getSize (Size *defval=0) |
|
double | getRefreshRate (double *defval=0) |
|
URI | getURI (bool expanded=false) const |
|
virtual double | getResolution (double *hppi, double *vppi, double *defval=0) |
| Computes the pixel density (resolution) of the display device. More...
|
|
double | getResolution (double *defval=0) |
|
virtual void | setDebugLevel (int) |
| Sets the level of information for debugging purposes (default = 0).
|
|
virtual void | debug (std::ostream &) const |
|
|
static DisplayDevice * | create (const char *device_uri=0) |
| Static create method is used to instantiate an object of the class.
|
|
static DisplayDevice * | create (std::string device_uri) |
|
The osxDisplayDevice class is a platform specific subclass of DisplayDevice which is implemented to work with Display devices on the osx platforms.
double pointing::osxDisplayDevice::getRefreshRate |
( |
double * |
defval = 0 | ) |
|
|
virtual |
URI pointing::osxDisplayDevice::getURI |
( |
bool |
expanded = false | ) |
const |
|
virtual |
- Returns
- The corresponding URI of the device.
- Parameters
-
expanded | specifies if additional parameters must be displayed |
Implements pointing::DisplayDevice.
The documentation for this class was generated from the following files: