Obsolete Members for QTransform

以下成員源於類 QTransform 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) QTransform (const QMatrix & matrix )
(obsolete) qreal det () const
(obsolete) const QMatrix & toAffine () const

成員函數文檔編製

QTransform:: QTransform (const QMatrix & matrix )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Constructs a matrix that is a copy of the given matrix 。注意, m13 , m23 ,和 m33 elements are set to 0, 0, and 1 respectively.

qreal QTransform:: det () const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Returns the matrix's determinant. Use determinant () 代替。

const QMatrix &QTransform:: toAffine () const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

返迴 QTransform as an affine matrix.

警告: If a perspective transformation has been specified, then the conversion will cause loss of data.