org.kde.qt
Class QWMatrix

java.lang.Object
  extended by org.kde.qt.QWMatrix
All Implemented Interfaces:
QtSupport

public class QWMatrix
extends java.lang.Object
implements QtSupport


Field Summary
static int Areas
           
static int Points
           
 
Constructor Summary
  QWMatrix()
           
protected QWMatrix(java.lang.Class dummy)
           
  QWMatrix(double m11, double m12, double m21, double m22, double dx, double dy)
           
 
Method Summary
 double det()
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
 double dx()
           
 double dy()
           
protected  void finalize()
          Deletes the wrapped C++ instance
 QWMatrix invert()
           
 QWMatrix invert(boolean[] arg1)
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean isIdentity()
           
 boolean isInvertible()
           
 double m11()
           
 double m12()
           
 double m21()
           
 double m22()
           
 void map(double x, double y, double[] tx, double[] ty)
           
 void map(int x, int y, int[] tx, int[] ty)
           
 QPoint map(QPoint p)
           
 QPointArray map(QPointArray a)
           
 QRect map(QRect r)
           
 QRegion map(QRegion r)
           
 QRect mapRect(QRect arg1)
           
 QPointArray mapToPolygon(QRect r)
           
 QRegion mapToRegion(QRect r)
           
 boolean op_equals(QWMatrix arg1)
           
 QWMatrix op_mult_assign(QWMatrix arg1)
           
 QPoint op_mult(QPoint arg1)
           
 QPointArray op_mult(QPointArray a)
           
 QRegion op_mult(QRect arg1)
           
 QRegion op_mult(QRegion arg1)
           
 boolean op_not_equals(QWMatrix arg1)
           
 void reset()
           
 QWMatrix rotate(double a)
           
 QWMatrix scale(double sx, double sy)
           
 void setMatrix(double m11, double m12, double m21, double m22, double dx, double dy)
           
static void setTransformationMode(int m)
           
 QWMatrix shear(double sh, double sv)
           
static int transformationMode()
           
 QWMatrix translate(double dx, double dy)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Points

public static final int Points
See Also:
Constant Field Values

Areas

public static final int Areas
See Also:
Constant Field Values
Constructor Detail

QWMatrix

protected QWMatrix(java.lang.Class dummy)

QWMatrix

public QWMatrix()

QWMatrix

public QWMatrix(double m11,
                double m12,
                double m21,
                double m22,
                double dx,
                double dy)
Method Detail

setMatrix

public void setMatrix(double m11,
                      double m12,
                      double m21,
                      double m22,
                      double dx,
                      double dy)

m11

public double m11()

m12

public double m12()

m21

public double m21()

m22

public double m22()

dx

public double dx()

dy

public double dy()

map

public void map(int x,
                int y,
                int[] tx,
                int[] ty)

map

public void map(double x,
                double y,
                double[] tx,
                double[] ty)

mapRect

public QRect mapRect(QRect arg1)

map

public QPoint map(QPoint p)

map

public QRect map(QRect r)

map

public QPointArray map(QPointArray a)

map

public QRegion map(QRegion r)

mapToRegion

public QRegion mapToRegion(QRect r)

mapToPolygon

public QPointArray mapToPolygon(QRect r)

reset

public void reset()

isIdentity

public boolean isIdentity()

translate

public QWMatrix translate(double dx,
                          double dy)

scale

public QWMatrix scale(double sx,
                      double sy)

shear

public QWMatrix shear(double sh,
                      double sv)

rotate

public QWMatrix rotate(double a)

isInvertible

public boolean isInvertible()

det

public double det()

invert

public QWMatrix invert(boolean[] arg1)

invert

public QWMatrix invert()

op_equals

public boolean op_equals(QWMatrix arg1)

op_not_equals

public boolean op_not_equals(QWMatrix arg1)

op_mult_assign

public QWMatrix op_mult_assign(QWMatrix arg1)

op_mult

public QPoint op_mult(QPoint arg1)

op_mult

public QRegion op_mult(QRect arg1)

op_mult

public QRegion op_mult(QRegion arg1)

op_mult

public QPointArray op_mult(QPointArray a)

setTransformationMode

public static void setTransformationMode(int m)

transformationMode

public static int transformationMode()

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?