|
Version: 1.01 Posted: 2006-09-11 Build Requirements: Xcode 2.3 or greater, Mac OS X 10.4 Universal SDK Runtime Requirements: Mac OS X 10.4.7 or greater. Download Sample (Quartz2DBasics.zip, 1.65M) |
||||||
DescriptionThis sample code introduces some of the concepts and features of Quartz. It contains code that: * fills then strokes a rectangle and strokes then fills a rectangle * creates a CGPath object and then paints that path with varying degrees of alpha transparency * draws the contents of a TIFF file using Quartz * draws the contents of a TIFF file using Quartz clipped by an elliptical shape * caches content using a CGLayer object and then draws using that cache * exports any of the above drawing to a PDF file * exports any of the above drawing as a PNG file This code sample contains a Carbon and Cocoa project that each have equivalent functionality. Document Revision History
|
|