以下成員源於類 QDirectPainter 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QRegion
|
region () |
(obsolete)
QRegion
|
reserveRegion (const QRegion & region ) |
(obsolete)
QRegion
|
reservedRegion () |
[static]
QRegion
QDirectPainter::
region
()
使用 QDirectPainter::allocatedRegion () 代替。
另請參閱 setRegion ().
[static]
QRegion
QDirectPainter::
reserveRegion
(const
QRegion
&
region
)
Attempts to reserve the region and returns the region that is actually reserved.
This function also releases the previously reserved region if any. If not released explicitly, the region will be released on application exit.
構造 QDirectPainter 使用 QDirectPainter::ReservedSynchronous 代替。
另請參閱 allocatedRegion () 和 Static Allocation .
[static]
QRegion
QDirectPainter::
reservedRegion
()
Returns the reserved region.
使用 allocatedRegion () 代替。
該函數在 Qt 4.2 引入。
另請參閱 reserveRegion () 和 frameBuffer ().