Jump To:
Leopard Reference Library
Graphics and imaging on Mac OS X consists of three main developer technologies: Quartz, an advanced drawing engine and windowing environment; OpenGL, an Apple implementation of this 3D graphics industry-standard API; and QuickTime, the cross-platform multimedia technology for handling video, sound, and text.

A guided introduction for developers new to Mac OS X graphics and imaging.   Essential information for developers working with graphics and imaging.   C and Objective-C API references organized by framework.
Document Descriptions
On Off
Display

Sort by
Title
Sort by
Topic
Sort by
Resource Type
Sorted by
Date
ImageApp (HTML) (DMG) (ZIP)
Demonstrates basic image handling using the ImageIO APIs in Mac OS X 10.4 Tiger
Cocoa, ColorSync, Quartz Sample Code 2008-01-24
AGL Changes for Mac OS X Leopard (v. 10.5) (HTML)
QA1523: This Q&A describes the new and deprecated APIs for Apple OpenGL (AGL)
Carbon, Games, OpenGL Technical Q&As 2008-01-04
GeekGameBoard (HTML) (DMG) (ZIP)
Shows how to use Core Animation for the user interface of a board or card game.
Cocoa, Games, Performance, Quartz Sample Code 2007-12-19
How do I get the hexadecimal value of an NSColor object? (HTML)
QA1576: Describes how to convert an NSColor object to its Hexadecimal value.
Cocoa Technical Q&As 2007-12-19
Apple Type Services for Fonts Programming Guide (HTML) (PDF)
Explains how to access fonts using the ATS-based font management API. Includes implementing the Fonts window.
Typography Guides 2007-12-11
Apple Type Services for Fonts Reference (HTML) (PDF)
Describes the C API for ATS-based font access and management.
Typography Reference 2007-12-11
Boinx Starts with Sample Code: FotoMagico Is a Powerful Digital Slideshow (HTML)
Starting with Apple sample code, tools and technologies, Boinx wrote FotoMagico in a matter of months.
General, OpenGL Articles 2007-12-11
CAConstraintLayoutManager Class Reference (HTML) (PDF)
Describes a layout manager that applies a set of constraints to a layer tree.
Cocoa, Quartz Reference 2007-12-11
CATextLayer Class Reference (HTML) (PDF)
Describes a layer that draws text.
Cocoa, Quartz Reference 2007-12-11
CIFilter Class Reference (HTML) (PDF)
Describes the class that processes image data and produces a Core Image image as output.
Cocoa, Games, Quartz Reference 2007-12-11
Font Manager Reference (HTML) (PDF)
Describes the C API for QuickDraw-based font access and management.
Carbon, Typography Reference 2007-12-11
Leopard Technology Series for Developers: Graphics & Media Overview (HTML)
Describes Leopard's graphics and media capabilities.
General Articles 2007-12-11
PDF Kit Programming Guide (HTML) (PDF)
Introduces basic PDF concepts and describes how to use PDF Kit to display PDF documents in your application.
Carbon, Cocoa, Quartz Guides 2007-12-11
PDF Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for viewing, navigating, and editing PDF content.
Cocoa, Quartz Reference 2007-12-11
PDFAction Class Reference (HTML) (PDF)
Describes the class for representing an action in a PDF document.
Cocoa, Quartz Reference 2007-12-11
PDFActionGoTo Class Reference (HTML) (PDF)
Describes the class for manipulating the destination of a go-to action in a PDF document.
Cocoa, Quartz Reference 2007-12-11
PDFActionNamed Class Reference (HTML) (PDF)
Describes the class for working with actions that have defined names, such as "Go back."
Cocoa, Quartz Reference 2007-12-11
PDFActionRemoteGoTo Class Reference (HTML) (PDF)
Describes the class for manipulating the destination of a go-to action that targets another PDF document.
Cocoa, Quartz Reference 2007-12-11
PDFActionResetForm Class Reference (HTML) (PDF)
Describes the class for getting and clearing fields in a PDF form.
Cocoa, Quartz Reference 2007-12-11
PDFActionURL Class Reference (HTML) (PDF)
Describes the class for managing the URL associated with a URL action.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotation Class Reference (HTML) (PDF)
Describe the class for creating and managing annotations in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationButtonWidget Class Reference (HTML) (PDF)
Describes the class for manipulating button annotations in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationChoiceWidget Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu and list annotations in a PDF document.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationFreeText Class Reference (HTML) (PDF)
Describes the class for manipulating free text annotations in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationLine Class Reference (HTML) (PDF)
Describes the class for manipulating line annotations in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationPopup Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu annotations in a PDF document.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationStamp Class Reference (HTML) (PDF)
Describes the class for displaying content to look as if it is "stamped" onto a PDF page.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationText Class Reference (HTML) (PDF)
Describes the class for manipulating text annotations in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFAnnotationTextWidget Class Reference (HTML) (PDF)
Describes the class for manipulating editable text fields in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFDestination Class Reference (HTML) (PDF)
Describes the class for describing specific destinations in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFDocument Class Reference (HTML) (PDF)
Describes the class for creating and manipulating PDF files.
Cocoa, Quartz Reference 2007-12-11
PDFOutline Class Reference (HTML) (PDF)
Describes the class for creating and manipulating structure outlines in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFPage Class Reference (HTML) (PDF)
Describes the class for handling specific pages in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFSelection Class Reference (HTML) (PDF)
Describes the class for handling user selections in PDF documents.
Cocoa, Quartz Reference 2007-12-11
PDFThumbnailView Class Reference (HTML) (PDF)
Describes the class for managing the thumbnail view in a PDF document.
Cocoa, Quartz Reference 2007-12-11
PDFView Class Reference (HTML) (PDF)
Describes the class that encapsulates all the capabilities of PDF Kit in a standard Cocoa view.
Cocoa, Quartz Reference 2007-12-11
QCCompositionLayer Class Reference (HTML) (PDF)
Describes the class used to display a Quartz Composer composition in a Layer Kit layer.
Quartz Reference 2007-12-11
Quartz 2D Programming Guide (HTML) (PDF)
Explains how to use Quartz 2D. Includes illustrations and sample code.
Carbon, Quartz Guides 2007-12-11
Quartz Composer Custom Patch Programming Guide (HTML) (PDF)
Describes how to create custom patches for distribution.
Cocoa, Quartz Guides 2007-12-11
Quartz Framework Reference (HTML) (PDF)
Describes the API for Quartz Composer, Image Kit, and PDF Kit.
Quartz Reference 2007-12-11
CGImageSource Reference (HTML) (PDF)
Describes the opaque type for reading image data.
Quartz Reference 2007-12-04
Display Manager Reference (HTML) (PDF)
Deprecated - Describes the C API for dynamically changing the arrangement and display modes of attached monitors. Replaced by Quartz Display Services.
Carbon Reference 2007-12-04
OpenGL Capabilities Matrix (HTML)
Lists supported OpenGL extensions and parameter values by various combinations of Mac OS X versions, graphics adapters, and CPU types.
OpenGL Reference 2007-11-30
StillMotion (HTML) (DMG) (ZIP)
Demonstrates how to use the QTKit Capture APIs to build a simple application that creates stop motion animations.
QuickTime Sample Code 2007-11-14
BoingX (HTML) (DMG) (ZIP)
Shows off using Quartz Extreme to provide borderless OpenGL content on the desktop.
Cocoa, OpenGL Sample Code 2007-11-06
GLSL Showpiece Lite (HTML) (DMG) (ZIP)
Using GLSL from a Cocoa application
Games, OpenGL, Performance Sample Code 2007-11-05
CocoaSlides (HTML) (DMG) (ZIP)
An image browser written using AppKit's Core Animation-based compositing and animation functionality
Cocoa, Quartz Sample Code 2007-11-02
Son of Grab (HTML) (DMG) (ZIP)
Shows how to use the new CGWindow to get window images from the Window Server.
Carbon, Cocoa, Quartz Sample Code 2007-11-01
AGL Reference (HTML) (PDF)
Describes the Apple graphics library for Carbon applications that use OpenGL.
Carbon, OpenGL Reference 2007-10-31
Application Services Framework Reference (HTML) (PDF)
Describes the API for a number of services--such as Quartz 2D and ATSUI--that are essential to Carbon applications.
General Reference 2007-10-31
CAAnimation Class Reference (HTML) (PDF)
Describes the interface for managing the actions and timing of an animation.
Cocoa, Quartz Reference 2007-10-31
CATransition Class Reference (HTML) (PDF)
Describes the class that provides transition animations to layers.
Cocoa, Quartz Reference 2007-10-31
CGImageProperties Reference (HTML) (PDF)
Describes property constants for source and destination images.
Carbon, Quartz Reference 2007-10-31
CGPDFContext Reference (HTML) (PDF)
Describes a Quartz PDF drawing destination.
Quartz Reference 2007-10-31
CIImage Class Reference (HTML) (PDF)
Describes the class that represents an immutable Core Image image.
Cocoa, Games, Quartz Reference 2007-10-31
IKFilterBrowserPanel Class Reference (HTML) (PDF)
Describes the class that provides the panel contained in a filter browser.
Cocoa, Quartz Reference 2007-10-31
IKPictureTaker Class Reference (HTML) (PDF)
Descibes the class that provides a panel for choosing images.
Cocoa, Quartz Reference 2007-10-31
IKSlideshow Class Reference (HTML) (PDF)
Describes the class that encapsulates a data source and options for a slideshow.
Cocoa, Quartz Reference 2007-10-31
NSAnimation Class Reference (HTML) (PDF)
Describes the behavior of an animation.
Cocoa Reference 2007-10-31
Providing PDF Workflow Options in the Print Dialog (HTML) (PDF)
Installation information and examples, including the use of Automator workflows.
Printing Guides 2007-10-31
Quartz Composer Release Note for Mac OS X v10.5 (HTML)
Summarizes the features and changes in Quartz Composer for Mac OS X v10.5.
Quartz Release Notes 2007-10-31
Quartz Event Services Reference (HTML) (PDF)
Describes the C API for event taps, filters used to observe and alter the stream of low-level user input events.
Quartz Reference 2007-10-31
Compiling X11 / OpenGL applications on Mac OS X v.10.5 Leopard (HTML)
QA1567: Trying to compile X11 / OpenGL application on Mac OS X v.10.5 result on "ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib""
OpenGL Technical Q&As 2007-10-30
Why isn't my ColorSync CMM recognized on Mac OS X 10.5? (HTML)
QA1557: Discusses how to upgrade your ColorSync CMM to run on Mac OS X 10.5
ColorSync Technical Q&As 2007-10-26
Cocoa OpenGL (HTML) (DMG) (ZIP)
Demonstrates using Cocoa with OpenGL, including window setup and event handling.
OpenGL Sample Code 2007-10-22
CIVideoDemoGL (HTML) (DMG) (ZIP)
CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video
QuickTime, Video Sample Code 2007-10-03
QuickTime Visual Context - Setting the kQTVisualContextOutputColorSpaceKey Attribute (HTML)
QA1550: Describes how to configure a QuickTime OpenGL Texture Visual Context with the kQTVisualContextOutputColorSpaceKey attribute.
QuickTime Technical Q&As 2007-09-28
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Carbon, Cocoa, Games, Quartz Sample Code 2007-09-27
Core Animation QuickTime Layer (HTML) (DMG) (ZIP)
Shows the use of controls in a Layer over a Core Animation QTMovieLayer
Cocoa, QuickTime Sample Code 2007-09-26
QuickTime Texture Visual Context - kQTVisualContextNotAllowedErr with non-accelerated graphics cards (HTML)
QA1542: Discusses how to create a display mask and avoid a kQTVisualContextNotAllowedErr when using a non-accelerated graphics card.
OpenGL, QuickTime Technical Q&As 2007-09-18
Quartz 2D Shadings (HTML) (DMG) (ZIP)
Shows how to use CGShading and CGGradient objects to draw simple gradients.
Carbon, Cocoa, Quartz Sample Code 2007-08-31
OpenGLCaptureToMovie (HTML) (DMG) (ZIP)
How to capture the screen on Mac OS X using OpenGL and save to a QuickTime movie.
OpenGL Sample Code 2007-08-30
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Carbon, Cocoa, Printing, Quartz Technical Q&As 2007-08-02
Cocoa PDE with Carbon Printing (HTML) (DMG) (ZIP)
Application that uses a Cocoa PDE along with the Carbon Printing APIs.
Printing Sample Code 2007-07-27
CAAction Protocol Reference (HTML) (PDF)
Describes the interface for receiving actions initiated by a layer.
Cocoa, Quartz Reference 2007-07-24
CABasicAnimation Class Reference (HTML) (PDF)
Describes the basic interpolation of a layer property.
Cocoa, Quartz Reference 2007-07-24
CAConstraint Class Reference (HTML) (PDF)
Describes a single geometric constraint between two layers.
Cocoa, Quartz Reference 2007-07-24
CAKeyframeAnimation Class Reference (HTML) (PDF)
Describes an animation that provides keyframe interpolation of a layer property.
Cocoa, Quartz Reference 2007-07-24
CALayoutManager Protocol Reference (HTML) (PDF)
Describes the interface for receiving requests to arrange a layout tree.
Cocoa, Quartz Reference 2007-07-24
CAPropertyAnimation Class Reference (HTML) (PDF)
Describes the interface for manipulating values of layer properties.
Cocoa, Quartz Reference 2007-07-24
Carbon Printing Reference (HTML) (PDF)
Describes the C API used by Carbon applications to provide a user interface for printing.
Printing Reference 2007-07-24
CAScrollLayer Class Reference (HTML) (PDF)
Describes a layer that displays a scrollable portion of another layer.
Cocoa, Quartz Reference 2007-07-24
CATiledLayer Class Reference (HTML) (PDF)
Describes a layer that draws tiles of content as needed.
Cocoa, Quartz Reference 2007-07-24
CATransaction Class Reference (HTML) (PDF)
Describes a batch of Core Animation updates that are applied to a render tree atomically.
Cocoa, Quartz Reference 2007-07-24
CIFilter Core Animation Additions (HTML) (PDF)
Describes the category that extends Core Image filters for use with Layer Kit.
Cocoa, Quartz Reference 2007-07-24
Core Animation Function Reference (HTML) (PDF)
Describes the C functions that support Core Animation.
Cocoa, Quartz Reference 2007-07-24
Core Printing Reference (HTML) (PDF)
Describes the C API that provides an abstraction layer for application printing.
Printing Reference 2007-07-24
NSValue Core Animation Additions (HTML) (PDF)
Describes extensions to Foundation's NSValue class that support the Core Animation LKTransform structure.
Cocoa, Quartz Reference 2007-07-24
AGL Reference Update (HTML) (PDF)
Summarizes the symbols added to the AGL framework.
OpenGL Release Notes 2007-07-18
Application Services Reference Update (HTML) (PDF)
Summarizes the symbols added to the Application Services framework.
Carbon Release Notes 2007-07-18
CGBitmapContextCreate Supported Color Spaces (HTML)
QA1037: Lists the color space and alpha info combinations currently supported by CGBitmapContextCreate.
Carbon, Cocoa, Games, Quartz Technical Q&As 2007-07-18
Ensuring hardware accelerated rendering for your OpenGL application (HTML)
QA1502: Using the NoRecovery pixel format attribute and how to check whether vertex and fragment processing is executed on the GPU or CPU
Games, OpenGL Technical Q&As 2007-07-18
OpenGL Reference Update (HTML) (PDF)
Summarizes the symbols added to the OpenGL framework.
OpenGL Release Notes 2007-07-18
Quartz Core Reference Update (HTML) (PDF)
Summarizes the symbols added to the Quartz Core framework.
Quartz Release Notes 2007-07-18
Quartz Reference Update (HTML) (PDF)
Summarizes the symbols added to the Quartz framework.
Quartz Release Notes 2007-07-18
CGFont Reference (HTML) (PDF)
Describes a representation of a font.
Quartz Reference 2007-07-17
IKImageBrowserDataSource Protocol Reference (HTML) (PDF)
Describes the informal protocol used to access the data source associated with an image browser view.
Cocoa, Quartz Reference 2007-07-17
Quartz Composer User Guide (HTML) (PDF)
Explains how to use the Quartz Composer development tool to create motion graphics compositions.
Cocoa, Quartz, Tools Guides 2007-07-17
Synchronizing OpenGL rendering updates to the vertical refresh of the display (HTML)
QA1521: How to avoid tearing by synchronizing your rendering to the display VBL
Games, OpenGL, Performance Technical Q&As 2007-07-16
QCPlugInInputImageSource Protocol Reference (HTML) (PDF)
Describes the methods for managing image data that's input to a QCPlugIn object.
Cocoa, Quartz Reference 2007-07-12