Beispiel #1
0
        public virtual RectangleF BoxRectForPage(CGPDFBox boxType, uint page, out NSError error)
        {
            unsafe {
                IntPtr val;
                IntPtr val_addr = (IntPtr)((IntPtr*)&val);

                RectangleF ret = _BoxRectForPage (boxType, page, val_addr);
                error = (NSError)Runtime.GetNSObject (val);

                return ret;
            }
        }
 public PSPDFTextParser(CGPDFPage pageRef, uint page, PSPDFDocument document, NSMutableDictionary fontCache, bool hideGlyphsOutsidePageRect, CGPDFBox PDFBox)
     : this(pageRef.Handle, page, document, fontCache, hideGlyphsOutsidePageRect, PDFBox)
 {
 }
Beispiel #3
0
 extern static CGAffineTransform CGPDFPageGetDrawingTransform(/* CGPDFPageRef */ IntPtr page, CGPDFBox box, CGRect rect, int rotate, bool preserveAspectRatio);
Beispiel #4
0
 public CGAffineTransform GetDrawingTransform(CGPDFBox box, CGRect rect, int rotate, bool preserveAspectRatio)
 {
     return(CGPDFPageGetDrawingTransform(handle, box, rect, rotate, preserveAspectRatio));
 }
 public PSPDFTextParser(CGPDFPage pageRef, uint page, PSPDFDocument document, NSMutableDictionary fontCache, bool hideGlyphsOutsidePageRect, CGPDFBox PDFBox) : this(pageRef.Handle, page, document, fontCache, hideGlyphsOutsidePageRect, PDFBox)
 {
 }
Beispiel #6
0
 public CGRect GetBoxRect(CGPDFBox box)
 {
     return(CGPDFPageGetBoxRect(handle, box));
 }
Beispiel #7
0
 extern static CGAffineTransform CGPDFPageGetDrawingTransform(IntPtr handle, CGPDFBox box, CGRect rect, int rotate, int preserveAspectRatio);
Beispiel #8
0
 static extern CGAffineTransform CGPDFPageGetDrawingTransform(IntPtr handle, CGPDFBox box, RectangleF rect, int rotate, int preserveAspectRatio);
 extern static RectangleF CGPDFPageGetBoxRect(IntPtr handle, CGPDFBox box);
 public RectangleF GetBoxRect(CGPDFBox box)
 {
     return(CGPDFPageGetBoxRect(handle, box));
 }
Beispiel #11
0
 static extern CGAffineTransform CGPDFPageGetDrawingTransform(/* CGPDFPageRef */ IntPtr page, CGPDFBox box, CGRect rect, int rotate, bool preserveAspectRatio);
Beispiel #12
0
 static extern CGRect CGPDFPageGetBoxRect(/* CGPDFPageRef */ IntPtr page, CGPDFBox box);
Beispiel #13
0
 public CGRect GetBoxRect(CGPDFBox box)
 {
     return CGPDFPageGetBoxRect (handle, box);
 }
Beispiel #14
0
 public CGAffineTransform GetDrawingTransform(CGPDFBox box, RectangleF rect, int rotate, bool preserveAspectRatio)
 {
     return CGPDFPageGetDrawingTransform (handle, box, rect, rotate, preserveAspectRatio ? 1 : 0);
 }
Beispiel #15
0
 extern static CGRect CGPDFPageGetBoxRect(IntPtr handle, CGPDFBox box);
Beispiel #16
0
 static extern RectangleF CGPDFPageGetBoxRect(IntPtr handle, CGPDFBox box);
Beispiel #17
0
 extern static CGRect CGPDFPageGetBoxRect(/* CGPDFPageRef */ IntPtr page, CGPDFBox box);
Beispiel #18
0
 public RectangleF GetBoxRect(CGPDFBox box)
 {
     return CGPDFPageGetBoxRect (handle, box);
 }
Beispiel #19
0
 extern static CGAffineTransform CGPDFPageGetDrawingTransform(/* CGPDFPageRef */ IntPtr page, CGPDFBox box, CGRect rect, int rotate, [MarshalAs(UnmanagedType.I1)] bool preserveAspectRatio);