src/gui/painting/qmatrix.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    99     QMatrix &scale(qreal sx, qreal sy);
    99     QMatrix &scale(qreal sx, qreal sy);
   100     QMatrix &shear(qreal sh, qreal sv);
   100     QMatrix &shear(qreal sh, qreal sv);
   101     QMatrix &rotate(qreal a);
   101     QMatrix &rotate(qreal a);
   102 
   102 
   103     bool isInvertible() const { return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); }
   103     bool isInvertible() const { return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); }
   104     qreal det() const { return _m11*_m22 - _m12*_m21; }
   104     qreal determinant() const { return _m11*_m22 - _m12*_m21; }
       
   105 #ifdef QT_DEPRECATED
       
   106     QT_DEPRECATED qreal det() const { return _m11*_m22 - _m12*_m21; }
       
   107 #endif
   105 
   108 
   106     QMatrix inverted(bool *invertible = 0) const;
   109     QMatrix inverted(bool *invertible = 0) const;
   107 
   110 
   108     bool operator==(const QMatrix &) const;
   111     bool operator==(const QMatrix &) const;
   109     bool operator!=(const QMatrix &) const;
   112     bool operator!=(const QMatrix &) const;