unsafe CGContextPDF(NSUrl url, CGRect *mediaBox, CGPDFInfo info) { using (var dict = info == null ? null : info.ToDictionary()) Handle = CGPDFContextCreateWithURL(url.GetHandle(), mediaBox, dict.GetHandle()); }
unsafe static IntPtr Create(NSUrl?url, CGRect *mediaBox, CGPDFInfo?info) { using (var dict = info?.ToDictionary()) return(CGPDFContextCreateWithURL(url.GetHandle(), mediaBox, dict.GetHandle())); }
unsafe CGContextPDF(CGDataConsumer dataConsumer, CGRect *mediaBox, CGPDFInfo info) { using (var dict = info == null ? null : info.ToDictionary()) Handle = CGPDFContextCreate(dataConsumer.GetHandle(), mediaBox, dict.GetHandle()); }
unsafe static IntPtr Create(CGDataConsumer?dataConsumer, CGRect *mediaBox, CGPDFInfo?info) { using (var dict = info?.ToDictionary()) return(CGPDFContextCreate(dataConsumer.GetHandle(), mediaBox, dict.GetHandle())); }