Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

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.

Public Functions


Member Function Documentation

QMatrix QMatrix::invert ( bool * invertible = 0 ) const

Call inverted(invertible) instead.

QRect QMatrix::map ( const QRect & rect ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use mapRect() instead.

QRegion QMatrix::mapToRegion ( const QRect & rect ) const

Returns the transformed rectangle rect.

A rectangle which has been rotated or sheared may result in a non-rectangular region being returned.

Calling this method can be expensive, if rotations or shearing are used. If you just need to know the bounding rectangle of the returned region, use mapRect() which is a lot faster than this function.

See also QMatrix::mapRect().


Copyright © 2005 Trolltech Trademarks
Qt 4.1.0
Hosted by uCoz