Version: 1.0

Posted: 2009-05-27

Build Requirements: Xcode 3.1 or later, Mac OS X v10.5 or later

Runtime Requirements: Mac OS X v10.5 or later

View Source Code:

Download Sample Code (“CompositeLab.zip”, 114.7K)



Description

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.

Document Revision History

Date Notes
2009-05-27CompositeLab is a simple application useful for interactively demonstrating compositing modes in the Quartz display system.