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 () 函数代替。