A structure that contains callbacks needed by a CGFunctionRef object.


struct CGFunctionCallbacks


Instance Properties

var evaluate: CGFunctionEvaluateCallback?

The callback that evaluates the function.

var version: UInt32

The structure version number. For this structure, the version should be 0.

See Also

Creating Function Objects

typealias CGFunctionEvaluateCallback

Performs custom operations on the supplied input data to produce output data.

typealias CGFunctionReleaseInfoCallback

Performs custom clean-up tasks when Core Graphics deallocates a CGFunctionRef object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software