The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
QRegion | region () (obsolete) |
QRegion | reserveRegion ( const QRegion & region ) (obsolete) |
QRegion | reservedRegion () (obsolete) |
Use QDirectPainter::allocatedRegion() instead.
See also setRegion().
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.
Construct a QDirectPainter using QDirectPainter::ReservedSynchronous instead.
See also allocatedRegion() and Static Allocation.
Returns the reserved region.
Use allocatedRegion() instead.
This function was introduced in Qt 4.2.
See also reserveRegion() and frameBuffer().