Jump To:
Leopard Reference Library: Graphics & Imaging
Quartz technologies are at the heart of the Mac OS X graphics and windowing environment. Quartz 2D is a two-dimensional drawing API that leverages the Portable Document Format (PDF) drawing model and allows developers to to achieve many of the visual effects used in the Mac OS X user interface, including translucency and drop shadows. Quartz Composer is a development tool for processing and rendering graphical data. PDF Kit allows applications to display and manipulate PDF documents. Core Image and Core Video support, respectively, image processing and video image manipulation. Quartz also provides low-level system services such as window buffering and composition, event handling and dispatch, display management, and text rendering.

Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Resource Type
Sort by
Date
2D Graphics Release Notes for Mac OS X v10.5 (HTML)
Describes the changes and issues related to Core Image and Quartz 2D in Mac OS X v10.5.
Release Notes 2008-04-08
Animating the frame of a CALayer. (HTML)
QA1620: Explains how the frame property of a layer interacts with animations.
Technical Q&As 2008-10-24
Animation Overview (HTML) (PDF)
Describes the animation facilities provided by Mac OS X.
Guides 2008-10-15
Availability of Quartz Composer Patches in Web Kit (HTML)
QA1505: Details which Quartz Composer patches are available in Web Kit
Technical Q&As 2007-03-05
BlitNoVBL (HTML) (DMG) (ZIP)
Shows how to draw directly to the screen without syncing to the VBL of the monitor.
Sample Code 2003-01-14
BlitVBL (HTML) (DMG) (ZIP)
Shows how to have Mac OS X try its best to sync to the VBL for you.
Sample Code 2003-01-14
CAAction Protocol Reference (HTML) (PDF)
Describes the interface for receiving actions initiated by a layer.
Reference 2007-07-24
CAAnimation Class Reference (HTML) (PDF)
Describes the interface for managing the actions and timing of an animation.
Reference 2007-10-31
CAAnimationGroup Class Reference (HTML) (PDF)
Describes a grouping of multiple animations into a single animation.
Reference 2008-03-11
CABasicAnimation Class Reference (HTML) (PDF)
Describes the basic interpolation of a layer property.
Reference 2007-07-24
CAConstraint Class Reference (HTML) (PDF)
Describes a single geometric constraint between two layers.
Reference 2007-07-24
CAConstraintLayoutManager Class Reference (HTML) (PDF)
Describes a layout manager that applies a set of constraints to a layer tree.
Reference 2007-12-11
CAKeyframeAnimation Class Reference (HTML) (PDF)
Describes an animation that provides keyframe interpolation of a layer property.
Reference 2007-07-24
CALayer Class Reference (HTML) (PDF)
Describes a node of animated visual content.
Reference 2009-02-04
CALayerEssentials (HTML) (DMG) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
Sample Code 2008-09-30
CALayoutManager Protocol Reference (HTML) (PDF)
Describes the interface for receiving requests to arrange a layout tree.
Reference 2007-07-24
CAMediaTiming Protocol Reference (HTML) (PDF)
Describes the interface for the time behavior of an animation.
Reference 2009-03-04
CAMediaTimingFunction Class Reference (HTML) (PDF)
Describes the pacing of an animation as a timing curve.
Reference 2008-07-11
CAOpenGLLayer Class Reference (HTML) (PDF)
Describes a layer that acts as a target for OpenGL commands.
Reference 2008-03-11
CAPropertyAnimation Class Reference (HTML) (PDF)
Describes the interface for manipulating values of layer properties.
Reference 2007-07-24
CarbonQuartzDrawingWPrinting (HTML) (DMG) (ZIP)
Deprecated - Demonstrates mixing QuickDraw and Quartz 2D drawing both on screen and during printing.
Sample Code 2003-01-14
CarbonSketch (HTML) (DMG) (ZIP)
Core Graphics only example of a Sketch application implemented with HIToolbox. Shows 1x1-CGBitmapContext for hit-testing, printing.
Sample Code 2005-03-23
CARenderer Class Reference (HTML) (PDF)
Describes an object that draws a layer to a Core Graphics context.
Reference 2008-04-30
CAScrollLayer Class Reference (HTML) (PDF)
Describes a layer that displays a scrollable portion of another layer.
Reference 2007-07-24
CATextLayer Class Reference (HTML) (PDF)
Describes a layer that draws text.
Reference 2007-12-11
CATiledLayer Class Reference (HTML) (PDF)
Describes a layer that draws tiles of content as needed.
Reference 2007-07-24
CATransaction Class Reference (HTML) (PDF)
Describes a batch of Core Animation updates that are applied to a render tree atomically.
Reference 2007-07-24
CATransition Class Reference (HTML) (PDF)
Describes the class that provides transition animations to layers.
Reference 2007-10-31
CGAffineTransform Reference (HTML) (PDF)
Describes the functions for creating and applying affine transformations.
Reference 2008-04-08
CGBitmapContext Reference (HTML) (PDF)
Describes an opaque type for managing drawing operations in a bitmap.
Reference 2007-06-28
CGBitmapContextCreate Supported Color Spaces (HTML)
QA1037: Lists the color space and alpha info combinations currently supported by CGBitmapContextCreate.
Technical Q&As 2007-07-18
CGColor Reference (HTML) (PDF)
Describes a representation of color and opacity (alpha value).
Reference 2006-12-22
CGColorSpace Reference (HTML) (PDF)
Describes an opaque type for specifying color space information.
Reference 2008-09-09
CGContext Bounds (HTML)
QA1048: Explains how to determine the bounds of a CGContext.
Technical Q&As 2001-07-02
CGContext Reference (HTML) (PDF)
Describes a Quartz 2D drawing destination.
Reference 2008-04-08
CGContextAddLineToPoint, CGContextAddCurveToPoint, et. al. (HTML)
QA1049: Explains why the CGContextAddXYZ APIs don't draw anything immediately.
Technical Q&As 2001-07-02
CGContextClosePath (HTML)
QA1046: Explains when you should call CGContextClosePath.
Technical Q&As 2001-10-02
CGDataConsumer Reference (HTML) (PDF)
Describes an opaque data type for writing image or PDF data.
Reference 2006-12-22
CGDataProvider Reference (HTML) (PDF)
Describes an opaque data type for reading image data.
Reference 2009-01-06
CGDrawPicture (HTML) (DMG) (ZIP)
Deprecated - Shows how to use the QDPictDrawToCGContext API.
Sample Code 2003-01-14
CGFont Reference (HTML) (PDF)
Describes a representation of a font.
Reference 2007-07-17
CGFunction Reference (HTML) (PDF)
Describes a facility for defining and using callback functions.
Reference 2006-12-22
CGGamma (HTML) (DMG) (ZIP)
Shows how to use CGDirectDisplay calls to manipulate display gamma tables.
Sample Code 2003-01-14
CGGeometry Reference (HTML) (PDF)
Describes structures and functions for manipulating points, rectangles, and sizes.
Reference 2009-01-06
CGGLContext Reference (HTML) (PDF)
Describes a graphics context for OpenGL commands. Not recommended
Reference 2006-12-22
CGGradient Reference (HTML) (PDF)
Describes the functions that create and operate on Quartz gradient objects.
Reference 2007-05-01
CGImage Reference (HTML) (PDF)
Describes a representation of an image.
Reference 2008-04-08
CGImageDestination Reference (HTML) (PDF)
Describes the opaque type for writing image data.
Reference 2007-05-04
CGImageProperties Reference (HTML) (PDF)
Describes property constants for source and destination images.
Reference 2007-10-31
CGImageRef contents are immutable (HTML) (日本語 HTML)
QA1276: Explains that CGImageRef contents are considered immutable once created.
Technical Q&As 2003-07-17
CGImageSource Reference (HTML) (PDF)
Describes the opaque type for reading image data.
Reference 2007-12-04
CGLayer Reference (HTML) (PDF)
Describes the opaque type for creating and drawing to a Quartz layer.
Reference 2006-12-22
CGPath Reference (HTML) (PDF)
Describes a vector-based path consisting of line and curve segments.
Reference 2006-12-22
CGPattern Reference (HTML) (PDF)
Describes a representation of a fill pattern.
Reference 2006-12-22
CGPDFArray Reference (HTML) (PDF)
Describes an array structure in a PDF document.
Reference 2008-10-15
CGPDFContentStream Reference (HTML) (PDF)
Describes the appearance of a PDF page.
Reference 2008-10-15
CGPDFContext Reference (HTML) (PDF)
Describes a Quartz PDF drawing destination.
Reference 2007-10-31
CGPDFDictionary Reference (HTML) (PDF)
Describes a dictionary structure in a PDF document.
Reference 2008-10-15
CGPDFDocument Reference (HTML) (PDF)
Describes a document containing PDF data.
Reference 2006-12-22
CGPDFObject Reference (HTML) (PDF)
Describes a PDF object in a PDF document.
Reference 2008-10-15
CGPDFOperatorTable Reference (HTML) (PDF)
Describes a collection of PDF operators and associated callback functions.
Reference 2009-03-04
CGPDFPage Reference (HTML) (PDF)
Describes a page in a PDF document.
Reference 2008-04-08
CGPDFScanner Reference (HTML) (PDF)
Describes an opaque type for parsing a PDF content stream.
Reference 2008-10-15
CGPDFStream Reference (HTML) (PDF)
Describes a PDF data stream, which typically represents an image or a page description.
Reference 2008-10-15
CGPDFString Reference (HTML) (PDF)
Describes a character string in a PDF document.
Reference 2008-10-15
CGPSConverter Reference (HTML) (PDF)
Describes an opaque type for converting PostScript data to PDF data.
Reference 2006-12-22
CGShading Reference (HTML) (PDF)
Describes a gradient fill pattern.
Reference 2006-12-22
CIAnnotation (HTML) (DMG) (ZIP)
Image annotation application using Core Image Filters. Demonstrates creation and usage of Image Units.
Sample Code 2005-08-01
CIColor Additions Reference (HTML) (PDF)
Describes additions to support Cocoa color information.
Reference 2006-05-23
CIColor Class Reference (HTML) (PDF)
Describes the class used to manage color values and color spaces for Core Image filters.
Reference 2006-12-05
CIColorTracking (HTML) (DMG) (ZIP)
An Objective-C applicaton that implements a GPU-based technique to find the location of a uniquely colored object in a scene
Sample Code 2008-04-24
CIContext Class Reference (HTML) (PDF)
Describes the class that provides an evaluation context for rendering a Core Image image through Quartz 2D or OpenGL.
Reference 2007-03-16
CIFilter Class Reference (HTML) (PDF)
Describes the class that processes image data and produces a Core Image image as output.
Reference 2007-12-11
CIFilter Core Animation Additions (HTML) (PDF)
Describes the category that extends Core Image filters for use with Layer Kit.
Reference 2007-07-24
CIFilter Image Kit Additions (HTML) (PDF)
Describes the category that extends Core Image filters for use with Image Kit.
Reference 2006-12-06
CIFilterGenerator Class Reference (HTML) (PDF)
Describes the class that supports chaining together image processing filters.
Reference 2006-12-05
CIFilterShape Class Reference (HTML) (PDF)
Describes the class that defines the bounding shape of a filter and the domain of definition of a filter operation.
Reference 2006-12-07
CIImage Additions Reference (HTML) (PDF)
Describes additions for manipulating Cocoa images.
Reference 2007-06-08
CIImage Class Reference (HTML) (PDF)
Describes the class that represents an immutable Core Image image.
Reference 2007-10-31
CIImageAccumulator Class Reference (HTML) (PDF)
Describes the class that enables feedback-based image processing.
Reference 2007-01-05
CIImageProvider Protocol Reference (HTML) (PDF)
Describes the informal protocol used to supply bitmap data for creating or initializing a Core Image image.
Reference 2006-12-05
CIKernel Class Reference (HTML) (PDF)
Describes the class that operates on individual pixels using a kernel routine.
Reference 2006-12-05
CIPlugIn Class Reference (HTML) (PDF)
Describes the class that is responsible for loading image units.
Reference 2006-12-05
CIPlugInRegistration Protocol Reference (HTML) (PDF)
Describes the protocol used to load Core Image image units.
Reference 2006-12-07
CISampler Class Reference (HTML) (PDF)
Describes the class that retrieves samples of images that are then processed by a Core Image kernel.
Reference 2006-12-07
CITransitionSelectorSample2 (HTML) (DMG) (ZIP)
Showing all available Core Image transitions in a scrollable NSOpenGLView
Sample Code 2006-09-18
CIVector Class Reference (HTML) (PDF)
Describes the class used to pass parameter values to Core Image filters.
Reference 2006-12-07
Cocoa CG aliasing demo (HTML) (DMG) (ZIP)
Shows how to draw both aliased and anti-aliased text and graphics using Quartz and Cocoa.
Sample Code 2003-07-17
Cocoa CG arc demo (HTML) (DMG) (ZIP)
Shows how to draw both aliased and anti-aliased arcs using Quartz and Cocoa.
Sample Code 2003-07-17
CocoaSlides (HTML) (DMG) (ZIP)
An image browser written using AppKit's Core Animation-based compositing and animation functionality
Sample Code 2007-11-02
ColorBars (HTML) (DMG) (ZIP)
Shows how to enumerate, select, capture, manipulate, draw to, and release displays using the CGDirectDisplay API.
Sample Code 2003-01-14
ColorSync on Mac OS X (HTML) (日本語 HTML)
TN2035: Describes ColorSync, which is fundamentally integrated into Mac OS X.
Technical Notes 2005-08-10
Core Animation Cookbook (HTML) (PDF)
Demonstrates common Core Animation tasks.
Guides 2008-03-11
Core Animation Function Reference (HTML) (PDF)
Describes the C functions that support Core Animation.
Reference 2007-07-24
Core Animation Programming Guide (HTML) (PDF)
Introduces the main components and services of Core Animation.
Guides 2008-11-13
Core Animation properties and Reference Counting (HTML)
QA1565: Describes a discrepancy between the property declarations in Core Animation and the actual behavior.
Technical Q&As 2008-11-24
Core Animation Reference Collection (HTML) (PDF)
Describes the API for Core Animation.
Reference 2008-06-26
Core Animation Release Notes (HTML)
Describes features, issues, and workarounds related to Mac OS X v10.5 and its support of Core Animation.
Release Notes 2007-05-31
Core Graphics Reference Collection (HTML) (PDF)
Describes the API for Quartz 2D drawing, Quartz Display Services, and Quartz Events Services.
Reference 2006-12-11
Core Image Filter Reference (HTML) (PDF)
Describes the built-in image processing filters available through Core Image.
Reference 2008-07-11