Inheritance: Object, IDisposable
Exemplo n.º 1
0
 public QRegion Xored(QRegion r)
 {
     return (QRegion) interceptor.Invoke("xored#", "xored(const QRegion&) const", typeof(QRegion), typeof(QRegion), r);
 }
Exemplo n.º 2
0
 public QRegion Intersected(QRegion r)
 {
     return (QRegion) interceptor.Invoke("intersected#", "intersected(const QRegion&) const", typeof(QRegion), typeof(QRegion), r);
 }
Exemplo n.º 3
0
 public QRegion Subtracted(QRegion r)
 {
     return (QRegion) interceptor.Invoke("subtracted#", "subtracted(const QRegion&) const", typeof(QRegion), typeof(QRegion), r);
 }
Exemplo n.º 4
0
 public QPaintEvent(QRegion paintRegion) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QPaintEvent#", "QPaintEvent(const QRegion&)", typeof(void), typeof(QRegion), paintRegion);
 }
Exemplo n.º 5
0
 public void Render(QPainter painter, QRegion clip)
 {
     interceptor.Invoke("render##", "render(QPainter*, const QRegion&)", typeof(void), typeof(QPainter), painter, typeof(QRegion), clip);
 }
Exemplo n.º 6
0
 public void SetMask(QRegion arg1)
 {
     interceptor.Invoke("setMask#", "setMask(const QRegion&)", typeof(void), typeof(QRegion), arg1);
 }
Exemplo n.º 7
0
 public void Repaint(QRegion arg1)
 {
     interceptor.Invoke("repaint#", "repaint(const QRegion&)", typeof(void), typeof(QRegion), arg1);
 }
Exemplo n.º 8
0
 public void Scroll(int dx, int dy, int x, int y, int width, int height, QRegion exposed)
 {
     interceptor.Invoke("scroll$$$$$$#", "scroll(int, int, int, int, int, int, QRegion*)", typeof(void), typeof(int), dx, typeof(int), dy, typeof(int), x, typeof(int), y, typeof(int), width, typeof(int), height, typeof(QRegion), exposed);
 }
Exemplo n.º 9
0
 public void Scroll(int dx, int dy, QRect rect, QRegion exposed)
 {
     interceptor.Invoke("scroll$$##", "scroll(int, int, const QRect&, QRegion*)", typeof(void), typeof(int), dx, typeof(int), dy, typeof(QRect), rect, typeof(QRegion), exposed);
 }
Exemplo n.º 10
0
 protected void DrawTree(QPainter painter, QRegion region)
 {
     interceptor.Invoke("drawTree##", "drawTree(QPainter*, const QRegion&) const", typeof(void), typeof(QPainter), painter, typeof(QRegion), region);
 }
Exemplo n.º 11
0
    private void MoveShot()
    {
        QRegion region = new QRegion(ShotRect());
        timerCount++;

        QRect shotR = ShotRect();

        if (shotR.Intersects(TargetRect())) {
            autoShootTimer.Stop();
            Emit.Hit();
            Emit.CanShoot(true);
        } else if (shotR.X() > Width() || shotR.Y() > Height()
                   || shotR.Intersects(BarrierRect())) {
            autoShootTimer.Stop();
            Emit.Missed();
            Emit.CanShoot(true);
        } else {
            region = region.Unite(shotR);
        }

        Update(region);
    }
Exemplo n.º 12
0
 public void AddRegion(QRegion region)
 {
     interceptor.Invoke("addRegion#", "addRegion(const QRegion&)", typeof(void), typeof(QRegion), region);
 }
Exemplo n.º 13
0
 public void SetSystemClip(QRegion baseClip)
 {
     interceptor.Invoke("setSystemClip#", "setSystemClip(const QRegion&)", typeof(void), typeof(QRegion), baseClip);
 }
Exemplo n.º 14
0
 public QPaintEvent(QRegion paintRegion)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QPaintEvent#", "QPaintEvent(const QRegion&)", typeof(void), typeof(QRegion), paintRegion);
 }
Exemplo n.º 15
0
 public QRegion(QRect r, QRegion.RegionType t)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QRegion#$", "QRegion(const QRect&, QRegion::RegionType)", typeof(void), typeof(QRect), r, typeof(QRegion.RegionType), t);
 }
Exemplo n.º 16
0
 public void Render(QPainter arg1, QRegion clip)
 {
     interceptor.Invoke("render##", "render(QPainter*, const QRegion&)", typeof(void), typeof(QPainter), arg1, typeof(QRegion), clip);
 }
Exemplo n.º 17
0
 public void SetClipRegion(QRegion arg1, Qt.ClipOperation op)
 {
     interceptor.Invoke("setClipRegion#$", "setClipRegion(const QRegion&, Qt::ClipOperation)", typeof(void), typeof(QRegion), arg1, typeof(Qt.ClipOperation), op);
 }
Exemplo n.º 18
0
 public void Render(QPainter arg1, QWebFrame.RenderLayer layer, QRegion clip)
 {
     interceptor.Invoke("render#$#", "render(QPainter*, QWebFrame::RenderLayer, const QRegion&)", typeof(void), typeof(QPainter), arg1, typeof(QWebFrame.RenderLayer), layer, typeof(QRegion), clip);
 }
Exemplo n.º 19
0
 public void Render(QPainter painter, QPoint targetOffset, QRegion sourceRegion, uint renderFlags)
 {
     interceptor.Invoke("render###$", "render(QPainter*, const QPoint&, const QRegion&, QWidget::RenderFlags)", typeof(void), typeof(QPainter), painter, typeof(QPoint), targetOffset, typeof(QRegion), sourceRegion, typeof(uint), renderFlags);
 }
Exemplo n.º 20
0
 public QRegion Map(QRegion r)
 {
     return((QRegion)interceptor.Invoke("map#", "map(const QRegion&) const", typeof(QRegion), typeof(QRegion), r));
 }
Exemplo n.º 21
0
Arquivo: Qt.cs Projeto: KDE/qyoto
 public static QDataStream Read(QDataStream arg1, QRegion arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QRegion&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QRegion), arg2);
 }
Exemplo n.º 22
0
 protected void DrawTree(QPainter painter, QRegion region)
 {
     interceptor.Invoke("drawTree##", "drawTree(QPainter*, const QRegion&) const", typeof(void), typeof(QPainter), painter, typeof(QRegion), region);
 }
Exemplo n.º 23
0
 public void AddRegion(QRegion region)
 {
     interceptor.Invoke("addRegion#", "addRegion(const QRegion&)", typeof(void), typeof(QRegion), region);
 }
Exemplo n.º 24
0
 public void SetSystemClip(QRegion baseClip)
 {
     interceptor.Invoke("setSystemClip#", "setSystemClip(const QRegion&)", typeof(void), typeof(QRegion), baseClip);
 }
Exemplo n.º 25
0
 public QRegion Eor(QRegion r)
 {
     return (QRegion) interceptor.Invoke("eor#", "eor(const QRegion&) const", typeof(QRegion), typeof(QRegion), r);
 }
Exemplo n.º 26
0
 protected void SetDirtyRegion(QRegion region)
 {
     interceptor.Invoke("setDirtyRegion#", "setDirtyRegion(const QRegion&)", typeof(void), typeof(QRegion), region);
 }
Exemplo n.º 27
0
 public bool Intersects(QRegion r)
 {
     return (bool) interceptor.Invoke("intersects#", "intersects(const QRegion&) const", typeof(bool), typeof(QRegion), r);
 }
Exemplo n.º 28
0
 public QRegion Map(QRegion r)
 {
     return (QRegion) interceptor.Invoke("map#", "map(const QRegion&) const", typeof(QRegion), typeof(QRegion), r);
 }
Exemplo n.º 29
0
 public QRegion Unite(QRegion r)
 {
     return (QRegion) interceptor.Invoke("unite#", "unite(const QRegion&) const", typeof(QRegion), typeof(QRegion), r);
 }
Exemplo n.º 30
0
 public QRegion Unite(QRegion r)
 {
     return((QRegion)interceptor.Invoke("unite#", "unite(const QRegion&) const", typeof(QRegion), typeof(QRegion), r));
 }
Exemplo n.º 31
0
 public QRegion(int x, int y, int w, int h, QRegion.RegionType t)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QRegion$$$$$", "QRegion(int, int, int, int, QRegion::RegionType)", typeof(void), typeof(int), x, typeof(int), y, typeof(int), w, typeof(int), h, typeof(QRegion.RegionType), t);
 }
Exemplo n.º 32
0
 public QRegion Eor(QRegion r)
 {
     return((QRegion)interceptor.Invoke("eor#", "eor(const QRegion&) const", typeof(QRegion), typeof(QRegion), r));
 }
Exemplo n.º 33
0
 public QRegion(QRegion region)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QRegion#", "QRegion(const QRegion&)", typeof(void), typeof(QRegion), region);
 }
Exemplo n.º 34
0
 public QRegion Intersected(QRegion r)
 {
     return((QRegion)interceptor.Invoke("intersected#", "intersected(const QRegion&) const", typeof(QRegion), typeof(QRegion), r));
 }
Exemplo n.º 35
0
 public void SetClipRegion(QRegion arg1)
 {
     interceptor.Invoke("setClipRegion#", "setClipRegion(const QRegion&)", typeof(void), typeof(QRegion), arg1);
 }
Exemplo n.º 36
0
 public QRegion Subtracted(QRegion r)
 {
     return((QRegion)interceptor.Invoke("subtracted#", "subtracted(const QRegion&) const", typeof(QRegion), typeof(QRegion), r));
 }
Exemplo n.º 37
0
 public void Update(QRegion arg1)
 {
     interceptor.Invoke("update#", "update(const QRegion&)", typeof(void), typeof(QRegion), arg1);
 }
Exemplo n.º 38
0
 public QRegion Xored(QRegion r)
 {
     return((QRegion)interceptor.Invoke("xored#", "xored(const QRegion&) const", typeof(QRegion), typeof(QRegion), r));
 }
Exemplo n.º 39
0
 public void Render(QPainter painter, QPoint targetOffset, QRegion sourceRegion)
 {
     interceptor.Invoke("render###", "render(QPainter*, const QPoint&, const QRegion&)", typeof(void), typeof(QPainter), painter, typeof(QPoint), targetOffset, typeof(QRegion), sourceRegion);
 }
Exemplo n.º 40
0
 public bool Intersects(QRegion r)
 {
     return((bool)interceptor.Invoke("intersects#", "intersects(const QRegion&) const", typeof(bool), typeof(QRegion), r));
 }
Exemplo n.º 41
0
    private void moveShot()
    {
        QRegion region = new QRegion(shotRect());
        timerCount++;

        QRect shotR = shotRect();

        if (shotR.Intersects(targetRect())) {
            autoShootTimer.Stop();
            Emit.hit();
        } else if (shotR.X() > Width() || shotR.Y() > Height()) {
            autoShootTimer.Stop();
            Emit.missed();
        } else {
            region = region.Unite(new QRegion(shotR));
        }

        Update(region);
    }
Exemplo n.º 42
0
 public QRegion(QRegion region) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QRegion#", "QRegion(const QRegion&)", typeof(void), typeof(QRegion), region);
 }
Exemplo n.º 43
0
Arquivo: Qt.cs Projeto: KDE/qyoto
 public static QDataStream Write(QDataStream arg1, QRegion arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QRegion&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QRegion), arg2);
 }
Exemplo n.º 44
0
 protected void SetDirtyRegion(QRegion region)
 {
     interceptor.Invoke("setDirtyRegion#", "setDirtyRegion(const QRegion&)", typeof(void), typeof(QRegion), region);
 }