Structure

CGContextRef

A Quartz 2D drawing environment.

Declaration

typedef struct CGContext CGContextRef;

Overview

The CGContextRef type represents a Quartz 2D drawing destination. A graphics context contains drawing parameters and all device-specific information needed to render the paint on a page to the destination, whether the destination is a window in an application, a bitmap image, a PDF document, or a printer.

See Also

2D Drawing

CGImageRef

A bitmap image or image mask.

CGPathRef

An immutable graphics path: a mathematical description of shapes or lines to be drawn in a graphics context.

CGMutablePathRef

A mutable graphics path: a mathematical description of shapes or lines to be drawn in a graphics context.

CGLayerRef

An offscreen context for reusing content drawn with Core Graphics.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software