Function

CGPSConverterCreate

Creates a new PostScript converter.

Declaration

CGPSConverterRef CGPSConverterCreate(void *info, const CGPSConverterCallbacks *callbacks, CFDictionaryRef options);

Parameters

info

A pointer to the data that will be passed to the callbacks.

callbacks

A pointer to a PostScript converter callbacks structure that specifies the callbacks to be used during a conversion process.

options

This parameter should be NULL; it is reserved for future expansion of the API.

Return Value

A new PostScript converter, or NULL if a converter could not be created. You are responsible for releasing this object.

See Also

CGPSConverter Miscellaneous Functions

CGPSConverterAbort

Tells a PostScript converter to abort a conversion at the next available opportunity.

CGPSConverterConvert

Uses a PostScript converter to convert PostScript data to PDF data.

CGPSConverterIsConverting

Checks whether the converter is currently converting data.

CGPSConverterGetTypeID

Returns the Core Foundation type identifier for PostScript converters.