doc: Update Q*PaintDevice docs
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 4 Oct 2012 08:55:12 +0000 (10:55 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 8 Oct 2012 07:16:27 +0000 (09:16 +0200)
commit3f6122a6926c190381a505d4b18fd44079927a4a
treecc039f93eb11768c9d6512d09bfae1b55985b37a
parentd4ad9dbbf96884c0899e8f8116a8a056facd52d5
doc: Update Q*PaintDevice docs

Minor syntax typo in QPagedPaintDevice.

Some Qt 5 updates in QPaintDevice (QGuiApplication)
and a couple of other changes:

1. Usually, we say an object is "painted" or "drawn" when it is
drawn on top of another object (like drawEllipse()) not when it
is the destination of the draw commands. To be more consistent I
updated the language here.

2. What's commonly called a 32-bit display has 24 bits of color
information and eight bits of opacity information. This gives a
color count which can be accurately represented by int. To avoid
confusion, the exception in the docs for colorCount() has been
generalized a little.

Change-Id: Iabaaed1f3e4a80e7e14dfd8855da8c3cd8b3012f
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/gui/painting/qpagedpaintdevice.cpp
src/gui/painting/qpaintdevice.qdoc