Contents

CGFunction

A general facility for defining and using callback functions.

Declaration

class CGFunction

Overview

These functions can take an arbitrary number of floating-point input values and pass back an arbitrary number of floating-point output values.

Core Graphics uses function objects to implement shadings. CGShading describes the parameters and semantics required for the callbacks used by function objects.

Topics

Creating Function Objects

Callbacks

Working with Core Foundation Types

See Also

Related Documentation

  • Quartz 2D Programming Guide

Utility and Support Classes