Qt:Документация 4.3.2/qdirectpainter-obsolete

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] Obsolete Members for QDirectPainter

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 QDirectPainter::region () [static]

Use QDirectPainter::reservedRegion() instead.

See also setRegion().

[править]
QRegion QDirectPainter::reserveRegion ( const QRegion & region ) [static]

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 reservedRegion() and Static Allocation.

[править]
QRegion QDirectPainter::reservedRegion () [static]

Returns the reserved region.

Use allocatedRegion() instead.

This function was introduced in Qt 4.2.

See also reserveRegion() and frameBuffer().


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2