Compatibility Members for QMatrix

The following members of class QMatrixare part of the Qt compatibility layer. We advise against using them in new code.

Public Functions

QMatrix invert(bool * invertible = 0) const
QRect map(const QRect & rect) const
QRegion mapToRegion(const QRect & rectangle) const

Member Function Documentation

QMatrix QMatrix::invert(bool * invertible = 0) const

Returns an inverted copy of this matrix.

Use the inverted() function instead.

QRect QMatrix::map(const QRect & rect) const

Creates and returns a QRect object that is a copy of the given rectangle, mapped into the coordinate system defined by this matrix.

Use the mapRect() function instead.

QRegion QMatrix::mapToRegion(const QRect & rectangle) const

Returns the transformed rectangle rectangle as a QRegion object. A rectangle which has been rotated or sheared may result in a non-rectangular region being returned.

Use the mapToPolygon() or map() function instead.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.