Mac Developer Library

Developer

Quartz 2D Reference Collection CGPDFContentStream Reference

Options
Deployment Target:

On This Page
Language:

CGPDFContentStream Reference

The CGPDFContentStreamRef opaque type provides access to the data that describes the appearance of a PDF page. A CGPDFContentStream object represents one or more PDF content streams for a page and their associated resource dictionaries. A PDF content stream is a sequential set of instructions that specifies how to paint items on a PDF page. A resource dictionary contains information needed by the content stream in order to decode the sequential instructions of the content stream.

CGPDFContentStream functions can retrieve both the content streams and the resource dictionaries associated with a PDF page.

This opaque type is not derived from CFType and therefore there are no functions for retaining and releasing it.

Functions

Data Types

  • An opaque type that provides access to the data that describes the appearance of a PDF page.

    Declaration

    Swift

    typealias CGPDFContentStreamRef = COpaquePointer

    Objective-C

    typedef struct CGPDFContentStream *CGPDFContentStreamRef;

    Import Statement

    Objective-C

    @import CoreGraphics;

    Swift

    import CoreGraphics

    Availability

    Available in OS X v10.4 and later.