CGFunction
A general facility for defining and using callback functions.
Declaration
class CGFunctionOverview
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.