Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
CTMClip
Last Revision: | Version 1.0, 2003-01-14 Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing with clipping. |
Build Requirements: | Mac OS X |
Runtime Requirements: | Mac OS X Mac OS X, Project Builder |
The CTMClip sample shows how to manipulate the Core Graphics (Quartz 2D) Current Transform Matrix (CTM) for image drawing. It also shows how to use the ClipCGContextToRegion API to make CG's clip path match the clip region from a QuickDraw port. See the companion sample CTMDemo for the same demo without the clipping. Requirements: Mac OS X, Project Builder Keywords: Core Graphics, Quartz 2D, CTM, Current Transform Matrix, CTMDemo, ClipCGContextToRegion, clip path, clip region
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14