Compatibility Members for QMatrix

以下成員源於類 QMatrix are part of the Qt compatibility layer. We advise against using them in new code.

公共函數

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

成員函數文檔編製

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

Returns an inverted copy of this matrix.

使用 inverted () 函數代替。

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

創建並返迴 QRect object that is a copy of the given rectangle, mapped into the coordinate system defined by this matrix.

使用 mapRect () 函數代替。

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

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

使用 mapToPolygon () 或 map () 函數代替。