public override QRectF BlockBoundingRect(QTextBlock block)
        {
            GCHandle ret = (GCHandle)QAbstractTextDocumentLayoutBlockBoundingRect((IntPtr)GCHandle.Alloc(this),
                                                                                  (IntPtr)GCHandle.Alloc(block));
            QRectF r = (QRectF)ret.Target;

            ret.SynchronizedFree();
            return(r);
        }
예제 #2
0
        public static QTextBlock.iterator Begin(this QTextBlock self)
        {
            SmokeInvocation interceptor = (SmokeInvocation)self.GetType().GetField("interceptor", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.GetField).GetValue(self);

            return((QTextBlock.iterator)interceptor.Invoke("begin", "begin() const", typeof(QTextBlock.iterator)));
        }
예제 #3
0
 protected QRectF BlockBoundingGeometry(QTextBlock block)
 {
     return((QRectF)interceptor.Invoke("blockBoundingGeometry#", "blockBoundingGeometry(const QTextBlock&) const", typeof(QRectF), typeof(QTextBlock), block));
 }
예제 #4
0
 public QTextCursor(QTextBlock block) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextCursor#", "QTextCursor(const QTextBlock&)", typeof(void), typeof(QTextBlock), block);
 }
예제 #5
0
 public void Add(QTextBlock block)
 {
     interceptor.Invoke("add#", "add(const QTextBlock&)", typeof(void), typeof(QTextBlock), block);
 }
예제 #6
0
 public void Remove(QTextBlock arg1)
 {
     interceptor.Invoke("remove#", "remove(const QTextBlock&)", typeof(void), typeof(QTextBlock), arg1);
 }
예제 #7
0
 public string ItemText(QTextBlock arg1)
 {
     return((string)interceptor.Invoke("itemText#", "itemText(const QTextBlock&) const", typeof(string), typeof(QTextBlock), arg1));
 }
예제 #8
0
 public int ItemNumber(QTextBlock arg1)
 {
     return((int)interceptor.Invoke("itemNumber#", "itemNumber(const QTextBlock&) const", typeof(int), typeof(QTextBlock), arg1));
 }
예제 #9
0
 public QTextBlock(QTextBlock o) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextBlock#", "QTextBlock(const QTextBlock&)", typeof(void), typeof(QTextBlock), o);
 }
예제 #10
0
 public QTextLayout(QTextBlock b) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextLayout#", "QTextLayout(const QTextBlock&)", typeof(void), typeof(QTextBlock), b);
 }
 public abstract QRectF BlockBoundingRect(QTextBlock block);
예제 #12
0
 protected virtual void BlockFormatChanged(QTextBlock block)
 {
     interceptor.Invoke("blockFormatChanged#", "blockFormatChanged(const QTextBlock&)", typeof(void), typeof(QTextBlock), block);
 }