# Cinder

# cinder::Display Class Reference

`#include <Display.h>`

List of all members.

## Public Member Functions
| ~Display ()
int | getWidth () const
int | getHeight () const
Area | getArea () const
int | getBitsPerPixel () const
NSScreen * | getNSScreen () const
CGDirectDisplayID | getCGDirectDisplayID () const
## Static Public Member Functions
static shared_ptr< Display > | getMainDisplay ()
static const std::vector < shared_ptr< Display > > & | getDisplays ()
static shared_ptr< Display > | findFromCGDirectDisplayID (CGDirectDisplayID displayID)
static BOOL CALLBACK | enumMonitorProc (HMONITOR hMonitor, HDC hdc, LPRECT rect, LPARAM lParam)

## Constructor & Destructor Documentation

cinder::Display::~Display | ( |  | ) |

## Member Function Documentation

int cinder::Display::getWidth | ( |  | ) | const

int cinder::Display::getHeight | ( |  | ) | const

Area cinder::Display::getArea | ( |  | ) | const

int cinder::Display::getBitsPerPixel | ( |  | ) | const

NSScreen* cinder::Display::getNSScreen | ( |  | ) | const

CGDirectDisplayID cinder::Display::getCGDirectDisplayID | ( |  | ) | const

shared_ptr< Display > cinder::Display::getMainDisplay | ( |  | ) | `[static]`

const vector< shared_ptr< Display > > & cinder::Display::getDisplays | ( |  | ) | `[static]`

shared_ptr< Display > cinder::Display::findFromCGDirectDisplayID | ( | CGDirectDisplayID | displayID | ) | `[static]`

BOOL CALLBACK cinder::Display::enumMonitorProc | ( | HMONITOR | hMonitor,
|  | HDC | hdc,
|  | LPRECT | rect,
|  | LPARAM | lParam |
| ) |  |  | `[static]`

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

- include/cinder/Display.h
- src/cinder/Display.cpp