PythonQtWrapper_QMatrix.h
63 lines
| 2.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QMATRIX_H | ||
#define PYTHONQTWRAPPER_QMATRIX_H | ||||
#include <qmatrix.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QPainterPath> | ||
#include <QVariant> | ||||
#include <qdatastream.h> | ||||
#include <qline.h> | ||||
#include <qmatrix.h> | ||||
#include <qpainterpath.h> | ||||
#include <qpoint.h> | ||||
#include <qpolygon.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
class PythonQtWrapper_QMatrix : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QMatrix* new_QMatrix(); | ||||
QMatrix* new_QMatrix(const QMatrix& matrix); | ||||
QMatrix* new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); | ||||
void delete_QMatrix(QMatrix* obj) { delete obj; } | ||||
florianlink
|
r73 | bool isInvertible(QMatrix* theWrappedObject) const; | ||
QMatrix* operator_multiply_assign(QMatrix* theWrappedObject, const QMatrix& arg__1); | ||||
void writeTo(QMatrix* theWrappedObject, QDataStream& arg__1); | ||||
QMatrix inverted(QMatrix* theWrappedObject, bool* invertible = 0) const; | ||||
qreal dx(QMatrix* theWrappedObject) const; | ||||
QMatrix* rotate(QMatrix* theWrappedObject, qreal a); | ||||
florianlink
|
r28 | void setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); | ||
florianlink
|
r73 | QMatrix* translate(QMatrix* theWrappedObject, qreal dx, qreal dy); | ||
qreal det(QMatrix* theWrappedObject) const; | ||||
QMatrix operator_multiply(QMatrix* theWrappedObject, const QMatrix& o) const; | ||||
florianlink
|
r28 | QRegion map(QMatrix* theWrappedObject, const QRegion& r) const; | ||
florianlink
|
r73 | qreal m12(QMatrix* theWrappedObject) const; | ||
QMatrix* scale(QMatrix* theWrappedObject, qreal sx, qreal sy); | ||||
florianlink
|
r28 | QPolygon map(QMatrix* theWrappedObject, const QPolygon& a) const; | ||
florianlink
|
r73 | void readFrom(QMatrix* theWrappedObject, QDataStream& arg__1); | ||
QRectF mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const; | ||||
bool isIdentity(QMatrix* theWrappedObject) const; | ||||
florianlink
|
r28 | QPoint map(QMatrix* theWrappedObject, const QPoint& p) const; | ||
florianlink
|
r73 | QPolygon mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const; | ||
QPointF map(QMatrix* theWrappedObject, const QPointF& p) const; | ||||
florianlink
|
r28 | bool operator_equal(QMatrix* theWrappedObject, const QMatrix& arg__1) const; | ||
qreal m21(QMatrix* theWrappedObject) const; | ||||
florianlink
|
r73 | QRect mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const; | ||
void reset(QMatrix* theWrappedObject); | ||||
QMatrix* shear(QMatrix* theWrappedObject, qreal sh, qreal sv); | ||||
qreal m11(QMatrix* theWrappedObject) const; | ||||
florianlink
|
r13 | QLineF map(QMatrix* theWrappedObject, const QLineF& l) const; | ||
florianlink
|
r24 | QPolygonF map(QMatrix* theWrappedObject, const QPolygonF& a) const; | ||
florianlink
|
r13 | QPainterPath map(QMatrix* theWrappedObject, const QPainterPath& p) const; | ||
florianlink
|
r73 | qreal dy(QMatrix* theWrappedObject) const; | ||
florianlink
|
r24 | QLine map(QMatrix* theWrappedObject, const QLine& l) const; | ||
florianlink
|
r28 | qreal m22(QMatrix* theWrappedObject) const; | ||
florianlink
|
r73 | QString toString(QMatrix*); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QMATRIX_H | ||||