PMPaperCreateCustom

Function PMPaperCreateCustom 

Source
pub unsafe extern "C-unwind" fn PMPaperCreateCustom(
    printer: PMPrinter,
    id: Option<&CFString>,
    name: Option<&CFString>,
    width: c_double,
    height: c_double,
    margins: NonNull<PMPaperMargins>,
    paper_p: NonNull<PMPaper>,
) -> u32
Available on crate features PMCore and PMDefinitions only.
Expand description

ยงSafety

  • printer must be a valid pointer or null.
  • margins must be a valid pointer.
  • paper_p must be a valid pointer.