Mac OS X Reference Library Apple Developer
Search

CompositeLab

Last Revision:
Version 1.0, 2009-05-27
CompositeLab is a simple application useful for interactively demonstrating compositing modes in the Quartz display system.
Build Requirements:
Xcode 3.1 or later, Mac OS X v10.5 or later
Runtime Requirements:
Mac OS X v10.5 or later

CompositeLab is a simple application useful for interactively demonstrating compositing modes in the Quartz display system.

Two separate images, source and destination, whose colors (and opacity) are chosen through the use of NSColorWells & the NSColorPanel, are composited together using a compositing mode specified by the user. The images are kept instances of NSImage. One subclass of NSView, CompositeView, manages all target/action methods and drawing.




Last updated: 2009-05-27

Did this document help you? Yes It's good, but... Not helpful...