Type Alias

CGBitmapContextReleaseDataCallback

A callback function used to release data associate with the bitmap context.

Declaration

typedef void (*CGBitmapContextReleaseDataCallback)(void *releaseInfo, void *data);

Discussion

The releaseInfo parameter contains the contextual data that you passed to the CGBitmapContextCreateWithData function. The data parameter contains a pointer to the bitmap data for you to release.

See Also

Creating Bitmap Graphics Contexts

CGBitmapContextCreate

Creates a bitmap graphics context.

CGBitmapContextCreateWithData

Creates a bitmap graphics context with the specified callback function.