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