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.