summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-04-01 14:59:51 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-04-01 16:09:35 (GMT)
commita6b3f4e3d77d417e471f3fec34fdafe87af4c2d5 (patch)
treee088ac1523c9eb9d14c79500edf1a5a294ffe59f /src
parent3ffcbdcfe10e7ef6eec1135a449b91a55e0b2bb6 (diff)
downloadQt-a6b3f4e3d77d417e471f3fec34fdafe87af4c2d5.zip
Qt-a6b3f4e3d77d417e471f3fec34fdafe87af4c2d5.tar.gz
Qt-a6b3f4e3d77d417e471f3fec34fdafe87af4c2d5.tar.bz2
Doc: Clarified the usage of QImage::dotsPerMeterX() and QImage::dotsPerMeterY().
Task-number: 240164 Reviewed-by: Jan Erik Hanssen <janerik@trolltech.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/image/qimage.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index 558d574..dc236e4 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -4937,10 +4937,12 @@ int QImage::dotsPerMeterY() const
meter, to \a x.
Together with dotsPerMeterY(), this number defines the intended
- scale and aspect ratio of the image.
+ scale and aspect ratio of the image, and determines the scale
+ at which QPainter will draw graphics on the image. It does not
+ change the scale or aspect ratio of the image when it is rendered
+ on other paint devices.
- \sa dotsPerMeterX(), {QImage#Image Information}{Image
- Information}
+ \sa dotsPerMeterX(), {QImage#Image Information}{Image Information}
*/
void QImage::setDotsPerMeterX(int x)
{
@@ -4957,10 +4959,12 @@ void QImage::setDotsPerMeterX(int x)
to \a y.
Together with dotsPerMeterX(), this number defines the intended
- scale and aspect ratio of the image.
+ scale and aspect ratio of the image, and determines the scale
+ at which QPainter will draw graphics on the image. It does not
+ change the scale or aspect ratio of the image when it is rendered
+ on other paint devices.
- \sa dotsPerMeterY(), {QImage#Image Information}{Image
- Information}
+ \sa dotsPerMeterY(), {QImage#Image Information}{Image Information}
*/
void QImage::setDotsPerMeterY(int y)
{