Obsolete Members for QPaintEngineState

The following members of class QPaintEngineState are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

公有函数

(obsolete) QMatrix matrix() const

成员函数

QMatrix QPaintEngineState::matrix() const

Returns the matrix in the current paint engine state.

Note: 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 flag.

This function was introduced in Qt 4.2.

参见 state() and QPaintEngine::updateState().