Type Alias

CGPSConverterBeginPageCallback

Performs custom tasks at the beginning of each page in a PostScript conversion process.

Declaration

typealias CGPSConverterBeginPageCallback = (UnsafeMutableRawPointer?, Int, CFDictionary) -> Void

Parameters

info

A generic pointer to private data shared among your callback functions. This is the same pointer you supplied to init(info:callbacks:options:).

pageNumber

The current page number. Page numbers start at 1.

pageInfo

A dictionary that contains contextual information about the page. This parameter is reserved for future API expansion, and is currently unused.

See Also

Callbacks

typealias CGPSConverterBeginDocumentCallback

Performs custom tasks at the beginning of a PostScript conversion process.

typealias CGPSConverterEndDocumentCallback

Performs custom tasks at the end of a PostScript conversion process.

typealias CGPSConverterEndPageCallback

Performs custom tasks at the end of each page of a PostScript conversion process.

typealias CGPSConverterProgressCallback

Reports progress periodically during a PostScript conversion process.

typealias CGPSConverterMessageCallback

Passes messages generated during a PostScript conversion process.

typealias CGPSConverterReleaseInfoCallback

Performs custom tasks when a PostScript converter is released.