CGBitmapContextCreate

Function CGBitmapContextCreate 

Source
pub unsafe extern "C-unwind" fn CGBitmapContextCreate(
    data: *mut c_void,
    width: usize,
    height: usize,
    bits_per_component: usize,
    bytes_per_row: usize,
    space: Option<&CGColorSpace>,
    bitmap_info: u32,
) -> Option<CFRetained<CGContext>>
Available on crate features CGColorSpace and CGContext and CGImage and CGBitmapContext only.
Expand description

ยงSafety

data must be a valid pointer or null.