diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-27 10:18:51 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-27 10:18:51 (GMT) |
commit | 14b772b03e0c1f5bcd5f7c25d0ae35593a9f6427 (patch) | |
tree | 944de9d86dc537658473b3b2bf9efb0ceea58516 /src/gui/image/qbitmap.cpp | |
parent | 1ba51aebe818746c13c58fda8e9c8cf4f73ea1ba (diff) | |
download | Qt-14b772b03e0c1f5bcd5f7c25d0ae35593a9f6427.zip Qt-14b772b03e0c1f5bcd5f7c25d0ae35593a9f6427.tar.gz Qt-14b772b03e0c1f5bcd5f7c25d0ae35593a9f6427.tar.bz2 |
Doc: Obsolete QMatrix and QPainter APIs using it.
QTransform and respective APIs should be used. Still some changes required
- Some references to QMatrix left in documentation
- Qt code uses QMatrix APIs (ie translationX)
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/image/qbitmap.cpp')
-rw-r--r-- | src/gui/image/qbitmap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/image/qbitmap.cpp b/src/gui/image/qbitmap.cpp index 6bca504..78c3396 100644 --- a/src/gui/image/qbitmap.cpp +++ b/src/gui/image/qbitmap.cpp @@ -78,7 +78,7 @@ QT_BEGIN_NAMESPACE 0 for black and 1 for white. The QBitmap class provides the transformed() function returning a - transformed copy of the bitmap; use the QMatrix argument to + transformed copy of the bitmap; use the QTransform argument to translate, scale, shear, and rotate the bitmap. In addition, QBitmap provides the static fromData() function which returns a bitmap constructed from the given \c uchar data, and the static @@ -318,6 +318,7 @@ QBitmap QBitmap::transformed(const QTransform &matrix) const /*! \overload + \obsolete This convenience function converts the \a matrix to a QTransform and calls the overloaded function. |