public static NSValue [] ConvertViewLineToPdfLines(NSValue [] line, PSPDFPageInfo pageInfo, CGRect bounds)
        {
            var arr = NSArray.FromNSObjects(line);
            var ret = _ConvertViewLineToPDFLines(arr.Handle, pageInfo.Handle, bounds);

            return(NSArray.ArrayFromHandle <NSValue> (ret));
        }
 public static CGRect ConvertViewRectToPdfRect(CGRect viewRect, PSPDFPageInfo pageInfo, CGRect viewBounds) => _ConvertViewRectToPdfRect(viewRect, pageInfo.Handle, viewBounds);
 public static CGPoint ConvertPdfPointToViewPoint(CGPoint pdfPoint, PSPDFPageInfo pageInfo, CGRect viewBounds) => _ConvertPdfPointToViewPoint(pdfPoint, pageInfo.Handle, viewBounds);
        public static NSArray <NSValue> [] ConvertPdfLinesToViewLines(NSArray <NSValue> [] lines, PSPDFPageInfo pageInfo, CGRect viewBounds)
        {
            var arr = NSArray.FromNSObjects(lines);
            var ret = _ConvertPDFLinesToViewLines(arr.Handle, pageInfo.Handle, viewBounds);

            return(NSArray.ArrayFromHandle <NSArray <NSValue> > (ret));
        }
 public static void SetupGraphicsContext(CGContext context, RectangleF displayRectangle, PSPDFPageInfo pageInfo)
 {
     SetupGraphicsContext_ (context.Handle, displayRectangle, pageInfo);
 }
 public static SizeF RenderPage(CGPDFPage page, CGContext context, PointF point, float zoom, PSPDFPageInfo pageInfo, PSPDFAnnotation[] annotations, NSDictionary options)
 {
     return RenderPage_ (page.Handle, context.Handle, point, zoom, pageInfo, annotations, options);
 }
 public static RectangleF RenderPage(CGPDFPage page, CGContext context, RectangleF rectangle, PSPDFPageInfo pageInfo, PSPDFAnnotation[] annotations, NSDictionary options)
 {
     return RenderPage_ (page.Handle, context.Handle, rectangle, pageInfo, annotations, options);
 }
 public static SizeF RenderPage(CGPDFPage page, CGContext context, PointF point, float zoom, PSPDFPageInfo pageInfo, PSPDFAnnotation[] annotations, NSDictionary options)
 {
     return(RenderPage_(page.Handle, context.Handle, point, zoom, pageInfo, annotations, options));
 }
 public static RectangleF RenderPage(CGPDFPage page, CGContext context, RectangleF rectangle, PSPDFPageInfo pageInfo, PSPDFAnnotation[] annotations, NSDictionary options)
 {
     return(RenderPage_(page.Handle, context.Handle, rectangle, pageInfo, annotations, options));
 }
 public static void SetupGraphicsContext(CGContext context, RectangleF displayRectangle, PSPDFPageInfo pageInfo)
 {
     SetupGraphicsContext_(context.Handle, displayRectangle, pageInfo);
 }