Public Member Functions | Static Public Member Functions
cinder::Display Class Reference

#import <Display.h>

List of all members.

Public Member Functions

() - ~Display
(int) - getWidth
(int) - getHeight
(Area- getArea
(int) - getBitsPerPixel
(bool) - contains
 Returns whether the Display's coordinates contain pt.
(NSScreen *) - getNsScreen
(CGDirectDisplayID) - getCgDirectDisplayId

Static Public Member Functions

(static DisplayRef+ getMainDisplay
(static const std::vector
< DisplayRef > &) 
+ getDisplays
(static DisplayRef+ getDisplayForPoint
 Returns the Display which contains a given point. Returns a NULL DisplayRef on failure.
(static DisplayRef+ findFromCgDirectDisplayId
(static DisplayRef+ findFromHmonitor
 Finds a Display based on its HMONITOR. Returns the primary display if it's not found.
(static BOOL CALLBACK) + enumMonitorProc

Constructor & Destructor Documentation

- cinder:

Member Function Documentation

- (int) Display: const
- (int) Display: const
- (Area) Display: const
- (int) Display: const
- (bool) Display: (const Vec2i &)  pt const

Returns whether the Display's coordinates contain pt.

- (NSScreen*) Display: const
- (CGDirectDisplayID) Display: const
+ (DisplayRef) Display:
+ (const vector< DisplayRef > &) Display:
+ (DisplayRef) Display: (const Vec2i &)  pt

Returns the Display which contains a given point. Returns a NULL DisplayRef on failure.

+ (DisplayRef) Display: (CGDirectDisplayID)  displayID
+ (DisplayRef) Display: (HMONITOR)  hMonitor

Finds a Display based on its HMONITOR. Returns the primary display if it's not found.

+ (BOOL CALLBACK) Display: (HMONITOR)  hMonitor
(HDC)  hdc
(LPRECT)  rect
(LPARAM)  lParam 

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