Obsolete Members for QDirectPainter

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

Static Public Members

(obsolete) QRegion region()
(obsolete) QRegion reserveRegion(const QRegion & region)
(obsolete) QRegion reservedRegion()

Member Function Documentation

[static] QRegion QDirectPainter::region()

Use QDirectPainter::allocatedRegion() instead.

See also 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.

Construct a QDirectPainter using QDirectPainter::ReservedSynchronous instead.

See also allocatedRegion() and Static Allocation.

[static] QRegion QDirectPainter::reservedRegion()

Returns the reserved region.

Use allocatedRegion() instead.

This function was introduced in Qt 4.2.

See also reserveRegion() and frameBuffer().

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.