Obsolete Members for QPaintEngineState

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

公共函數

(obsolete) QMatrix matrix () const

成員函數文檔編製

QMatrix QPaintEngineState:: matrix () const

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

Returns the matrix in the current paint engine state.

注意: It is advisable to use transform () instead of this function to preserve the properties of perspective transformations.

This variable should only be used when the state () returns a combination which includes the QPaintEngine::DirtyTransform 標誌。

該函數在 Qt 4.2 引入。

另請參閱 state () 和 QPaintEngine::updateState ().