CGPDFContextCreate

Function CGPDFContextCreate 

Source
pub unsafe extern "C-unwind" fn CGPDFContextCreate(
    consumer: Option<&CGDataConsumer>,
    media_box: *const CGRect,
    auxiliary_info: Option<&CFDictionary>,
) -> Option<CFRetained<CGContext>>
Available on crate features CGContext and CGDataConsumer and CGPDFContext only.
Expand description

ยงSafety

  • media_box must be a valid pointer or null.
  • auxiliary_info generics must be of the correct type.