A callback function that copies data from the provider into a Core Graphics buffer.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
- Core Graphics
A generic pointer to private data shared among your callback functions. This is the same pointer you supplied to
Info: size: callbacks:)
The Core Graphics buffer into which you copy the specified number of bytes.
Specifies the relative location in the data provider at which to begin copying data.
The number of bytes to copy.
The number of bytes copied. If no more data can be written to the buffer, you should return 0.
When Core Graphics is ready to receive data from the provider, your function is called.