iOS Developer Library

Developer

Core Graphics Framework Reference

Introduction

Opaque Types   Other Reference  

The Core Graphics framework is a C-based API that is based on the Quartz advanced drawing engine. It provides low-level, lightweight 2D rendering with unmatched output fidelity. You use this framework to handle path-based drawing, transformations, color management, offscreen rendering, patterns, gradients and 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.

CGGradient

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

CGImage

Describes a representation of an image.

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.

CGShading

Describes a gradient fill pattern.

Other Reference

CGAffineTransform Reference

CGGeometry Reference

Core Graphics Data Types and Constants Reference