pub unsafe extern "C-unwind" fn CGBitmapContextCreateWithData(
data: *mut c_void,
width: usize,
height: usize,
bits_per_component: usize,
bytes_per_row: usize,
space: Option<&CGColorSpace>,
bitmap_info: u32,
release_callback: CGBitmapContextReleaseDataCallback,
release_info: *mut c_void,
) -> Option<CFRetained<CGContext>>Available on crate features
CGColorSpace and CGContext and CGImage and CGBitmapContext only.Expand description
ยงSafety
datamust be a valid pointer or null.release_callbackmust be implemented correctly.release_infomust be a valid pointer or null.