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