Mac Developer Library

Developer

Quartz 2D Reference Collection

Introduction

Opaque Types   Other Reference  

Quartz 2D is an API that makes the Quartz advanced drawing engine accessible from all OS X application environments outside of the kernel. It provides low-level, lightweight 2D rendering with unmatched output fidelity regardless of the display or printing device. The Quartz 2D API supports transparency layers, path-based drawing, transformations, offscreen rendering, advanced color management, anti-aliased rendering, patterns, shadings, image data management, image creation, masking, and PDF document creation, display, and parsing.

Opaque Types

CGBitmapContext

Describes an opaque type for managing drawing operations in a bitmap.

CGColor

Describes a representation of color and opacity (alpha value).

CGColorSpace

Describes an opaque type for specifying color space information.

CGContext

Describes a Quartz 2D drawing destination.

CGDataConsumer

Describes an opaque data type for writing image or PDF data.

CGDataProvider

Describes an opaque data type for reading image data.

CGFont

Describes a representation of a font.

CGFunction

Describes a facility for defining and using callback functions.

CGGLContext

Describes a graphics context for OpenGL commands.

CGGradient

Describes the functions that create and operate on Quartz gradient objects.

CGImage

Describes a representation of an image.

CGImageDestination

Describes the opaque type for writing image data.

CGImageSource

Describes the opaque type for reading image data.

CGLayer

Describes the opaque type for creating and drawing to a Quartz layer.

CGPath

Describes a vector-based path consisting of line and curve segments.

CGPattern

Describes a representation of a fill pattern.

CGPDFArray

Describes an array structure in a PDF document.

CGPDFContentStream

Describes the appearance of a PDF page.

CGPDFContext

Describes a Quartz PDF drawing destination.

CGPDFDictionary

Describes a dictionary structure in a PDF document.

CGPDFDocument

Describes a document containing PDF data.

CGPDFObject

Describes a PDF object in a PDF document.

CGPDFOperatorTable

Describes a collection of PDF operators and associated callback functions.

CGPDFPage

Describes a page in a PDF document.

CGPDFScanner

Describes an opaque type for parsing a PDF content stream.

CGPDFStream

Describes a PDF data stream, which typically represents an image or a page description.

CGPDFString

Describes a character string in a PDF document.

CGPSConverter

Describes an opaque type for converting PostScript data to PDF data.

CGShading

Describes a gradient fill pattern.

Other Reference

CGAffineTransform Reference

CGGeometry Reference

CGImageProperties Reference