#ifndef PYTHONQTWRAPPER_QTRANSFORM_H #define PYTHONQTWRAPPER_QTRANSFORM_H #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QTransform : public QObject { Q_OBJECT public: Q_ENUMS(TransformationType ) enum TransformationType{ TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject}; public slots: QTransform* new_QTransform(); QTransform* new_QTransform(const QMatrix& mtx); QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23); QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0); QTransform* new_QTransform(const QTransform& other) { QTransform* a = new QTransform(); *((QTransform*)a) = other; return a; } void delete_QTransform(QTransform* obj) { delete obj; } bool isTranslating(QTransform* theWrappedObject) const; bool isScaling(QTransform* theWrappedObject) const; qreal m32(QTransform* theWrappedObject) const; QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const; qreal determinant(QTransform* theWrappedObject) const; QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); qreal dy(QTransform* theWrappedObject) const; void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const; void writeTo(QTransform* theWrappedObject, QDataStream& arg__1); const QMatrix* toAffine(QTransform* theWrappedObject) const; bool isIdentity(QTransform* theWrappedObject) const; qreal m11(QTransform* theWrappedObject) const; bool isAffine(QTransform* theWrappedObject) const; QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const; QTransform transposed(QTransform* theWrappedObject) const; QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const; qreal det(QTransform* theWrappedObject) const; QTransform* operator_multiply_assign(QTransform* theWrappedObject, qreal div); bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result); QTransform* operator_multiply_assign(QTransform* theWrappedObject, const QTransform& arg__1); QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy); QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv); qreal m31(QTransform* theWrappedObject) const; QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy); QTransform::TransformationType type(QTransform* theWrappedObject) const; bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result); qreal m13(QTransform* theWrappedObject) const; QTransform* operator_add_assign(QTransform* theWrappedObject, qreal div); QPoint map(QTransform* theWrappedObject, const QPoint& p) const; qreal dx(QTransform* theWrappedObject) const; QLine map(QTransform* theWrappedObject, const QLine& l) const; QLineF map(QTransform* theWrappedObject, const QLineF& l) const; qreal m22(QTransform* theWrappedObject) const; QPointF map(QTransform* theWrappedObject, const QPointF& p) const; QTransform* operator_divide_assign(QTransform* theWrappedObject, qreal div); bool isInvertible(QTransform* theWrappedObject) const; QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const; qreal m12(QTransform* theWrappedObject) const; QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const; bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result); qreal m21(QTransform* theWrappedObject) const; void reset(QTransform* theWrappedObject); void readFrom(QTransform* theWrappedObject, QDataStream& arg__1); QTransform adjoint(QTransform* theWrappedObject) const; QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const; QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const; QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); qreal m33(QTransform* theWrappedObject) const; QRegion map(QTransform* theWrappedObject, const QRegion& r) const; qreal m23(QTransform* theWrappedObject) const; bool isRotating(QTransform* theWrappedObject) const; QTransform* operator_subtract_assign(QTransform* theWrappedObject, qreal div); bool operator_equal(QTransform* theWrappedObject, const QTransform& arg__1) const; QString toString(QTransform*); }; #endif // PYTHONQTWRAPPER_QTRANSFORM_H