Defines a structure containing pointers to client-defined callback functions that manage the sending of data for a sequential-access data provider.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The functions specified by the
CGData structure are responsible for sequentially copying data to a memory buffer for Core Graphics to use. The functions are also responsible for handling the data provider’s basic memory management. You supply a
CGData structure to the function
CGData to create a sequential-access data provider.