Jump To:
Leopard Reference Library: Graphics & Imaging
Cocoa provides classes for custom drawing based on Quartz graphics, and utility functions for common graphics tasks such as copying and drawing bitmap data. To go beyond what Cocoa provides, developers can use the graphics and imaging frameworks in Mac OS X. Cocoa applications have access to a wide variety of graphics technologies including Quartz 2D, Quartz Services, OpenGL, QuickTime, and the Mac OS X printing system.

View all Cocoa Reference Library.
Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Resource Type
Sort by
Date
IKPictureTaker Class Reference (HTML) (PDF)
Descibes the class that provides a panel for choosing images.
Reference 2007-10-31
IKSaveOptions Class Reference (HTML) (PDF)
Describes the class that initializes, adds, and manages user interface options for saving image data.
Reference 2006-12-06
IKSlideshow Class Reference (HTML) (PDF)
Describes the class that encapsulates a data source and options for a slideshow.
Reference 2007-10-31
IKSlideshowDataSource Protocol Reference (HTML) (PDF)
Describes the methods that a slideshow object uses to access the contents of its data source object.
Reference 2009-03-04
IKSlideshowDemo (HTML) (DMG) (ZIP)
This small sample project shows how to use the ImageKit Slideshow to display images or PDFs.
Sample Code 2006-08-01
Image Difference (HTML) (DMG) (ZIP)
Demonstrates a way to use Quartz's compositing capability to find the difference between two images.
Sample Code 2003-01-30
Image I/O Programming Guide (HTML) (PDF)
Explains how to read and write image data using the Image I/O framework.
Guides 2007-07-02
Image Kit Programming Guide (HTML) (PDF)
Explains how to support browsing, viewing, editing, and processing images.
Guides 2008-06-09
Image Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for providing a user interface for images, image editing, and image processing.
Reference 2006-12-06
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Sample Code 2008-07-25
Image Unit Tutorial (HTML) (PDF)
Describes how to write image processing kernels and package them for distribution.
Guides 2009-05-06
Image Views (HTML) (PDF)
Explains how to use Cocoa image views.
Guides 2002-11-12
ImageApp (HTML) (DMG) (ZIP)
Demonstrates basic image handling using the ImageIO APIs in Mac OS X 10.4 Tiger
Sample Code 2008-01-24
ImageBackground (HTML) (DMG) (ZIP)
Shows how to draw an image in the background of an NSOutlineView and NSTableView.
Sample Code 2006-10-02
ImageBrowser (HTML) (DMG) (ZIP)
Demonstrates the ImageKit's IKImageBrowserView to browse images in a basic Cocoa application.
Sample Code 2007-03-13
Is ColorSync thread safe? (HTML) (日本語 HTML)
QA1261: Discusses ColorSync thread-safety issues.
Technical Q&As 2003-04-17
LayerBackedOpenGLView (HTML) (DMG) (ZIP)
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
Sample Code 2007-06-12
Link Snoop (HTML) (DMG) (ZIP)
Shows how to use PDFKit to scan for and highlight link annotations in PDFs.
Sample Code 2005-06-01
LiveVideoMixer3 (HTML) (DMG) (ZIP)
LiveVideoMixer3 is extended to support Video In via QTKit
Sample Code 2006-08-01
Making the most of Cocoa bindings in Quartz Composer (HTML)
TN2146: Describes how to best use Cocoa bindings with Quartz Composer.
Technical Notes 2006-03-03
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Sample Code 2007-09-27
MyCustomColorPicker (HTML) (DMG) (ZIP)
Shows how to write a custom color picker using Cocoa.
Sample Code 2006-10-09
MyPhoto (HTML) (DMG) (ZIP)
Demonstrates preferred techniques for working with the Image Capture APIs
Sample Code 2005-06-01
NSAffineTransform Additions Reference (HTML) (PDF)
Describes additions to support affine transformations.
Reference 2007-02-28
NSAffineTransform Class Reference (HTML) (PDF)
Describes an affine transformation from one coordinate space to another.
Reference 2007-01-15
NSAnimation Class Reference (HTML) (PDF)
Describes the behavior of an animation.
Reference 2007-10-31
NSBezierPath Class Reference (HTML) (PDF)
Describes a vector-based path consisting of line and curve segments.
Reference 2007-03-02
NSBitmapImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from bitmap data.
Reference 2009-01-06
NSBox Class Reference (HTML) (PDF)
Describes a view that can display its border and a title.
Reference 2008-10-15
NSCachedImageRep Class Reference (HTML) (PDF)
Describes cached image data that is ready to be rendered.
Reference 2007-01-15
NSCIImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from a Core Image CIImage instance.
Reference 2007-01-15
NSClipView Class Objective-C Reference (HTML) (PDF)
Describes the class that contains and scrolls the document view of a scroll view.
Reference 2006-05-23
NSColor Class Reference (HTML) (PDF)
Describes a representation of color and opacity.
Reference 2009-01-06
NSColorList Class Reference (HTML) (PDF)
Describes an ordered list of colors identified by keys.
Reference 2007-02-28
NSColorPanel Class Reference (HTML) (PDF)
Describes the standard panel used for color selection.
Reference 2007-02-28
NSColorPicker Class Reference (HTML) (PDF)
Describes the interface for custom views in a color panel used for color selection.
Reference 2007-02-28
NSColorPickingCustom Protocol Reference (HTML) (PDF)
Describes the interface for receiving custom color-picker user-interface requests.
Reference 2007-04-01
NSColorPickingDefault Protocol Reference (HTML) (PDF)
Describes the interface for receiving basic color-picker user-interface requests.
Reference 2007-04-27
NSColorSpace Class Reference (HTML) (PDF)
Describes a representation of a system or custom color space.
Reference 2007-02-28
NSColorWell Class Reference (HTML) (PDF)
Describes a control for displaying and selecting colors.
Reference 2007-02-28
NSCustomImageRep Class Reference (HTML) (PDF)
Describes an object that supports drawing an image using a custom data format.
Reference 2007-01-19
NSEPSImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from encapsulated PostScript data.
Reference 2007-01-22
NSGLImage (HTML) (DMG) (ZIP)
Deprecated - Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
Sample Code 2004-12-01
NSGraphicsContext Class Reference (HTML) (PDF)
Describes a destination for drawing operations.
Reference 2007-03-01
NSImage Class Reference (HTML) (PDF)
Describes a graphical image that includes facilities for drawing and compositing.
Reference 2009-01-06
NSImageRep Class Reference (HTML) (PDF)
Describes the interface for managing and drawing image data.
Reference 2009-01-06
NSOpenGL Fullscreen (HTML) (DMG) (ZIP)
Demonstrates how to create and switch between windowed and fullscreen OpenGL contexts using NSOpenGL.
Sample Code 2004-02-11
NSOpenGLContext Class Reference (HTML) (PDF)
Describes a target for OpenGL commands.
Reference 2008-06-09
NSOpenGLPixelBuffer Class Reference (HTML) (PDF)
Describes an OpenGL pixel buffer.
Reference 2007-01-31
NSOpenGLPixelFormat Class Reference (HTML) (PDF)
Describes a pixel format for OpenGL rendering.
Reference 2008-10-15
NSOpenGLView redraw problems after a window is closed and re-opened. (HTML)
QA1353: Workaround for NSOpenGLView failure to draw after its window is closed and re-opened.
Technical Q&As 2004-12-03
NSPanel Class Reference (HTML) (PDF)
Describes a window for performing auxiliary functions in an application.
Reference 2009-01-06
NSPDFImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from PDF data.
Reference 2007-01-26
NSPICTImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from PICT data.
Reference 2007-01-26
NSQuickDrawView Class Reference (HTML) (PDF)
Describes a deprecated technology replaced by Quartz.
Reference 2007-01-30
NSScreen Class Reference (HTML) (PDF)
Describes a representation of a screen (computer monitor).
Reference 2009-01-06
NSScrollView Class Reference (HTML) (PDF)
Describes a view for displaying content larger than its bounds.
Reference 2006-05-23
NSShadow Class Reference (HTML) (PDF)
Describes a drop shadow for a drawing operation.
Reference 2009-02-04
NSValue Core Animation Additions (HTML) (PDF)
Describes extensions to Foundation's NSValue class that support the Core Animation LKTransform structure.
Reference 2007-07-24
NSView Class Reference (HTML) (PDF)
Describes the interface for drawing, event handling, and printing in views.
Reference 2009-02-04
NSViewAnimation Class Reference (HTML) (PDF)
Describes an animation in a view or window.
Reference 2006-05-23
NSWindow Class Reference (HTML) (PDF)
Describes a window.
Reference 2009-03-04
OpenGL Filter Basics Cocoa (HTML) (DMG) (ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
Sample Code 2008-02-06
OpenGL Release Highlights - Mac OS X 10.3 Panther (HTML)
TN2131: Contains a list of bugs along with a short description on a release-by-release basis
Technical Notes 2005-02-04
OpenGL Screensaver (HTML) (DMG) (ZIP)
Demonstrates how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X.
Sample Code 2003-12-10
OpenGLCompositorLab (HTML) (DMG) (ZIP)
Demonstrates using OpenGL to composite multiple sources in hardware. Requires NVIDIA GeForce 4 Ti hardware.
Sample Code 2003-04-21
PDF Annotation Editor (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to examine, edit, and create PDF annotations.
Sample Code 2006-07-31
PDF Calendar (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to create PDF content.
Sample Code 2006-07-31
PDF Kit Programming Guide (HTML) (PDF)
Introduces basic PDF concepts and describes how to use PDF Kit to display PDF documents in your application.
Guides 2007-12-11
PDF Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for viewing, navigating, and editing PDF content.
Reference 2007-12-11
PDFAction Class Reference (HTML) (PDF)
Describes the class for representing an action in a PDF document.
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.
Reference 2007-12-11
PDFActionNamed Class Reference (HTML) (PDF)
Describes the class for working with actions that have defined names, such as "Go back."
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.
Reference 2007-12-11
PDFActionResetForm Class Reference (HTML) (PDF)
Describes the class for getting and clearing fields in a PDF form.
Reference 2007-12-11
PDFActionURL Class Reference (HTML) (PDF)
Describes the class for managing the URL associated with a URL action.
Reference 2007-12-11
PDFAnnotation Class Reference (HTML) (PDF)
Describe the class for creating and managing annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationButtonWidget Class Reference (HTML) (PDF)
Describes the class for manipulating button annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationChoiceWidget Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu and list annotations in a PDF document.
Reference 2007-12-11
PDFAnnotationCircle Class Reference (HTML) (PDF)
Describes the class for manipulating circle annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationFreeText Class Reference (HTML) (PDF)
Describes the class for manipulating free text annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationInk Class Reference (HTML) (PDF)
Describes the class for manipulating ink annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationLine Class Reference (HTML) (PDF)
Describes the class for manipulating line annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationLink Class Reference (HTML) (PDF)
Describes the class for manipulating link annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationMarkup Class Reference (HTML) (PDF)
Describes the class for manipulating markup annotations (highlighting, underlining, and so on) in PDF documents.
Reference 2006-05-23
PDFAnnotationPopup Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu annotations in a PDF document.
Reference 2007-12-11
PDFAnnotationSquare Class Reference (HTML) (PDF)
Describes the class for manipulating square annotations in PDF documents.
Reference 2006-05-23
PDFAnnotationStamp Class Reference (HTML) (PDF)
Describes the class for displaying content to look as if it is "stamped" onto a PDF page.
Reference 2007-12-11
PDFAnnotationText Class Reference (HTML) (PDF)
Describes the class for manipulating text annotations in PDF documents.
Reference 2007-12-11
PDFAnnotationTextWidget Class Reference (HTML) (PDF)
Describes the class for manipulating editable text fields in PDF documents.
Reference 2007-12-11
PDFBorder Class Reference (HTML) (PDF)
Describes the class for creating and manipulating borders around annotations in PDF documents.
Reference 2006-05-23
PDFDestination Class Reference (HTML) (PDF)
Describes the class for describing specific destinations in PDF documents.
Reference 2007-12-11
PDFDocument Class Reference (HTML) (PDF)
Describes the class for creating and manipulating PDF files.
Reference 2007-12-11
PDFKitLinker2 (HTML) (DMG) (ZIP)
Demonstrates many aspects of PDFKit including navigation, display modes, searching, and PDFView subclassing.
Sample Code 2005-08-10
PDFOutline Class Reference (HTML) (PDF)
Describes the class for creating and manipulating structure outlines in PDF documents.
Reference 2007-12-11
PDFPage Class Reference (HTML) (PDF)
Describes the class for handling specific pages in PDF documents.
Reference 2007-12-11
PDFSelection Class Reference (HTML) (PDF)
Describes the class for handling user selections in PDF documents.
Reference 2007-12-11
PDFThumbnailView Class Reference (HTML) (PDF)
Describes the class for managing the thumbnail view in a PDF document.
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.
Reference 2007-12-11
PictureTaker (HTML) (DMG) (ZIP)
Demonstrates the PictureTaker in a basic Cocoa application
Sample Code 2007-04-02