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

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

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

__NOTOC__

Image:qt-logo.png

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

Image:trolltech-logo.png

Содержание

[править] Qt 3 Support Members for QMatrix

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.



[править] Открытые функции

  • QMatrix invert ( bool * invertible = 0 ) const
  • QRect map ( const QRect & rect ) const
  • QRegion mapToRegion ( const QRect & rectangle ) const

[править] Описание функций-членов

[править]
QMatrix QMatrix::invert ( bool * invertible = 0 ) const

Returns an inverted copy of this matrix.

Use the inverted() function instead.

[править]
QRect QMatrix::map ( const QRect & rect ) const

This is an overloaded member function, provided for convenience.

Creates and returns a QRect object that is a copy of the given rectangle, mapped into the coordinate system defined by this matrix.

Use the mapRect() function instead.

[править]
QRegion QMatrix::mapToRegion ( const QRect & rectangle ) const

Returns the transformed rectangle rectangle as a QRegion object. A rectangle which has been rotated or sheared may result in a non-rectangular region being returned.

Use the mapToPolygon() or map() function instead.


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2