public override QRectF FrameBoundingRect(QTextFrame frame)
 {
     GCHandle ret = (GCHandle) QAbstractTextDocumentLayoutFrameBoundingRect((IntPtr) GCHandle.Alloc(this),
                                         (IntPtr) GCHandle.Alloc(frame));
     QRectF r = (QRectF) ret.Target;
     ret.Free();
     return r;
 }
        public override QRectF FrameBoundingRect(QTextFrame frame)
        {
            GCHandle ret = (GCHandle)QAbstractTextDocumentLayoutFrameBoundingRect((IntPtr)GCHandle.Alloc(this),
                                                                                  (IntPtr)GCHandle.Alloc(frame));
            QRectF r = (QRectF)ret.Target;

            ret.SynchronizedFree();
            return(r);
        }
Example #3
0
 public QTextCursor(QTextFrame frame) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextCursor#", "QTextCursor(QTextFrame*)", typeof(void), typeof(QTextFrame), frame);
 }
 public abstract QRectF FrameBoundingRect(QTextFrame frame);
Example #5
0
 public abstract QRectF FrameBoundingRect(QTextFrame frame);
 public override QRectF FrameBoundingRect(QTextFrame arg1)
 {
     return (QRectF) interceptor.Invoke("frameBoundingRect#", "frameBoundingRect(QTextFrame*) const", typeof(QRectF), typeof(QTextFrame), arg1);
 }
Example #7
0
 public iterator(QTextFrame.iterator o)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("iterator#", "iterator(const QTextFrame::iterator&)", typeof(void), typeof(QTextFrame.iterator), o);
 }