diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-07 09:44:12 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-07 09:50:37 (GMT) |
commit | fe02247a72467f8bd95c0e68c316c1d71f8e0c1e (patch) | |
tree | f03353821e2bf12c9a965379c9d343928eb735b6 /src/gui/image | |
parent | 39f2c09d9154e00409c73c6f6db90a4ddb06b8f0 (diff) | |
download | Qt-fe02247a72467f8bd95c0e68c316c1d71f8e0c1e.zip Qt-fe02247a72467f8bd95c0e68c316c1d71f8e0c1e.tar.gz Qt-fe02247a72467f8bd95c0e68c316c1d71f8e0c1e.tar.bz2 |
Removed obsolete documentation from QPixmap.
This documentation is misleading, as the internal representation of a
QPixmap is not guaranteed to be RGB32 or ARGB32_Premultiplied, and
whether it's stored client side or server side also depends on the
graphicssystem.
Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/gui/image')
-rw-r--r-- | src/gui/image/qpixmap.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp index be0ad4a..021f281 100644 --- a/src/gui/image/qpixmap.cpp +++ b/src/gui/image/qpixmap.cpp @@ -1644,16 +1644,6 @@ QPixmap QPixmap::transformed(const QMatrix &matrix, Qt::TransformationMode mode) {Implicit Data Sharing} documentation. QPixmap objects can also be streamed. - Depending on the system, QPixmap is stored using a RGB32 or a - premultiplied alpha format. If the image has an alpha channel, and - if the system allows, the preferred format is premultiplied alpha. - Note also that QPixmap, unlike QImage, may be hardware dependent. - On X11, Mac and Symbian, a QPixmap is stored on the server side while - a QImage is stored on the client side (on Windows, these two classes - have an equivalent internal representation, i.e. both QImage and - QPixmap are stored on the client side and don't use any GDI - resources). - Note that the pixel data in a pixmap is internal and is managed by the underlying window system. Because QPixmap is a QPaintDevice subclass, QPainter can be used to draw directly onto pixmaps. |