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 ().