diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QWMatrix.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QWMatrix.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QWMatrix.java | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QWMatrix.java b/qtjava/javalib/org/kde/qt/QWMatrix.java new file mode 100644 index 00000000..94521c47 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QWMatrix.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QWMatrix implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QWMatrix(Class dummy){} + + public static final int Points = 0; + public static final int Areas = 1; + + public QWMatrix() { + newQWMatrix(); + } + private native void newQWMatrix(); + public QWMatrix(double m11, double m12, double m21, double m22, double dx, double dy) { + newQWMatrix(m11,m12,m21,m22,dx,dy); + } + private native void newQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy); + public native void setMatrix(double m11, double m12, double m21, double m22, double dx, double dy); + public native double m11(); + public native double m12(); + public native double m21(); + public native double m22(); + public native double dx(); + public native double dy(); + public native void map(int x, int y, int[] tx, int[] ty); + public native void map(double x, double y, double[] tx, double[] ty); + public native QRect mapRect(QRect arg1); + public native QPoint map(QPoint p); + public native QRect map(QRect r); + public native QPointArray map(QPointArray a); + public native QRegion map(QRegion r); + public native QRegion mapToRegion(QRect r); + public native QPointArray mapToPolygon(QRect r); + public native void reset(); + public native boolean isIdentity(); + public native QWMatrix translate(double dx, double dy); + public native QWMatrix scale(double sx, double sy); + public native QWMatrix shear(double sh, double sv); + public native QWMatrix rotate(double a); + public native boolean isInvertible(); + public native double det(); + public native QWMatrix invert(boolean[] arg1); + public native QWMatrix invert(); + public native boolean op_equals(QWMatrix arg1); + public native boolean op_not_equals(QWMatrix arg1); + public native QWMatrix op_mult_assign(QWMatrix arg1); + public native QPoint op_mult(QPoint arg1); + public native QRegion op_mult(QRect arg1); + public native QRegion op_mult(QRegion arg1); + public native QPointArray op_mult(QPointArray a); + public static native void setTransformationMode(int m); + public static native int transformationMode(); + /** 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(); +} |