Obsolete Members for QGraphicsItemAnimation

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

公共函數

(obsolete) QMatrix matrixAt (qreal step ) const

公共槽

(obsolete) void reset ()

成員函數文檔編製

[slot] void QGraphicsItemAnimation:: reset ()

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

Resets the item to its starting position and transformation.

可以調用 setStep (0) instead.

QMatrix QGraphicsItemAnimation:: matrixAt ( qreal step ) const

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

Returns the matrix used to transform the item at the specified step 值。

使用 transformAt () 代替