diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPointArray.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QPointArray.java | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPointArray.java b/qtjava/javalib/org/kde/qt/QPointArray.java new file mode 100644 index 00000000..419d9bab --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QPointArray.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QPointArray implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QPointArray(Class dummy){} + + public QPointArray() { + newQPointArray(); + } + private native void newQPointArray(); + public QPointArray(int size) { + newQPointArray(size); + } + private native void newQPointArray(int size); + public QPointArray(QPointArray a) { + newQPointArray(a); + } + private native void newQPointArray(QPointArray a); + public QPointArray(QRect r, boolean closed) { + newQPointArray(r,closed); + } + private native void newQPointArray(QRect r, boolean closed); + public QPointArray(QRect r) { + newQPointArray(r); + } + private native void newQPointArray(QRect r); + public QPointArray(int nPoints, short[] points) { + newQPointArray(nPoints,points); + } + private native void newQPointArray(int nPoints, short[] points); + public native QPointArray copy(); + public native void translate(int dx, int dy); + public native QRect boundingRect(); + public native void point(int i, int[] x, int[] y); + public native QPoint point(int i); + public native void setPoint(int i, int x, int y); + public native void setPoint(int i, QPoint p); + public native boolean setPoints(int nPoints, short[] points); + public native boolean putPoints(int index, int nPoints, short[] points); + public native boolean putPoints(int index, int nPoints, QPointArray from, int fromIndex); + public native boolean putPoints(int index, int nPoints, QPointArray from); + public native void makeArc(int x, int y, int w, int h, int a1, int a2); + public native void makeEllipse(int x, int y, int w, int h); + public native void makeArc(int x, int y, int w, int h, int a1, int a2, QWMatrix arg7); + public native QPointArray cubicBezier(); + // void* shortPoints(int arg1,int arg2); >>>> NOT CONVERTED + // void* shortPoints(int arg1); >>>> NOT CONVERTED + // void* shortPoints(); >>>> NOT CONVERTED + public static native void cleanBuffers(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int size(); + public native int count(); + public native boolean isEmpty(); + public native boolean isNull(); + public native boolean resize( int size); + public native boolean truncate( int pos); + public native QPoint at(int index); + +} |