An abstraction for data-reading tasks that eliminates the need to manage a raw memory buffer.


typedef struct CGDataProvider CGDataProviderRef;


Some Core Graphics routines supply blocks of data to your program. Rather than reading through a raw memory buffer, data provider objects of type CGDataProviderRef allow you to supply Core Graphics functions with data.

CGDataProviderRef is derived from CFTypeRef and inherits the properties that all Core Foundation types have in common.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software