Defines pointers to client-defined callback functions that manage the sending of data for a direct-access data provider.
- Core Graphics
You supply a
CGData structure to the function
CGData to create a data provider for direct access. The functions specified by the
CGData structure are responsible for copying data a block at a time to a memory buffer for Core Graphics to use. The functions are also responsible for handling the data provider’s basic memory management. For the callback to work, one of the
get parameters must be non-
NULL. If both are non-
get is used to access the data.