Type Alias

CGBitmapContextReleaseDataCallback

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

Declaration

typealias CGBitmapContextReleaseDataCallback = (UnsafeMutableRawPointer?, UnsafeMutableRawPointer?) -> Void

Discussion

The releaseInfo parameter contains the contextual data that you passed to the init(data:width:height:bitsPerComponent:bytesPerRow:space:bitmapInfo:releaseCallback:releaseInfo:) function. The data parameter contains a pointer to the bitmap data for you to release.