diff options
author | David Boddie <dboddie@trolltech.com> | 2009-04-01 14:59:51 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-04-01 14:59:51 (GMT) |
commit | 10d0536fd3b08a394c41de349e67325183328ec6 (patch) | |
tree | 89573ca445b848e3f62f5ac9e8d92d2a611aed27 | |
parent | 244daeabfb55160387985d0ff3f057aa03d4d2da (diff) | |
download | Qt-10d0536fd3b08a394c41de349e67325183328ec6.zip Qt-10d0536fd3b08a394c41de349e67325183328ec6.tar.gz Qt-10d0536fd3b08a394c41de349e67325183328ec6.tar.bz2 |
Doc: Clarified the usage of QImage::dotsPerMeterX() and QImage::dotsPerMeterY().
Task-number: 240164
Reviewed-by: Jan Erik Hanssen <janerik@trolltech.com>
-rw-r--r-- | src/gui/image/qimage.cpp | 16 |
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) { |