Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X, Project Builder

View Source Code:

Download Sample (“ColorBars.zip”, 19.3K)
Download Sample (“ColorBars.dmg”, 76.4K)



Description

This is a CGDirectDisplay API demonstration command line tool. It shows how to identify the displays, select one, capture it, change the display mode, draw to the screen using direct pixel access, and release the display. Requirements: Mac OS X, Project Builder Keywords: CGDirectDisplay, DrawSprocket, Display Manager, screen resolution, bit depth

Document Revision History

Date Notes
2003-01-14Shows how to enumerate, select, capture, manipulate, draw to, and release displays using the CGDirectDisplay API.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.