#ifndef PYTHONQTWRAPPER_QMATRIX_H #define PYTHONQTWRAPPER_QMATRIX_H #include #include #include #include #include #include #include #include #include #include #include #include #include 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; } 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); void setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); QMatrix* translate(QMatrix* theWrappedObject, qreal dx, qreal dy); qreal det(QMatrix* theWrappedObject) const; QMatrix operator_multiply(QMatrix* theWrappedObject, const QMatrix& o) const; QRegion map(QMatrix* theWrappedObject, const QRegion& r) const; qreal m12(QMatrix* theWrappedObject) const; QMatrix* scale(QMatrix* theWrappedObject, qreal sx, qreal sy); QPolygon map(QMatrix* theWrappedObject, const QPolygon& a) const; void readFrom(QMatrix* theWrappedObject, QDataStream& arg__1); QRectF mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const; bool isIdentity(QMatrix* theWrappedObject) const; QPoint map(QMatrix* theWrappedObject, const QPoint& p) const; QPolygon mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const; QPointF map(QMatrix* theWrappedObject, const QPointF& p) const; bool operator_equal(QMatrix* theWrappedObject, const QMatrix& arg__1) const; qreal m21(QMatrix* theWrappedObject) const; 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; QLineF map(QMatrix* theWrappedObject, const QLineF& l) const; QPolygonF map(QMatrix* theWrappedObject, const QPolygonF& a) const; QPainterPath map(QMatrix* theWrappedObject, const QPainterPath& p) const; qreal dy(QMatrix* theWrappedObject) const; QLine map(QMatrix* theWrappedObject, const QLine& l) const; qreal m22(QMatrix* theWrappedObject) const; QString toString(QMatrix*); }; #endif // PYTHONQTWRAPPER_QMATRIX_H