以下成员源于类 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 ().