diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2020-01-07 03:03:20 +0100 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2020-01-07 03:03:20 +0100 |
commit | 2f58f925cc16946a474f066c739c4682246afa0f (patch) | |
tree | 0ba495f8a83eba922c0eb8226cf8bdde05c6dbfb /src/svg/qsvgrenderer.cpp | |
parent | bf173000d90a718d4a4c36fd1f8ceb5720ff87ac (diff) | |
parent | acb66cad2280bda20d26d08d606a66b9660b17aa (diff) | |
download | qtsvg-2f58f925cc16946a474f066c739c4682246afa0f.tar.gz |
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: If6bf34ca3216ab9e0866d8c4eea7c4e92a7f3f4d
Diffstat (limited to 'src/svg/qsvgrenderer.cpp')
-rw-r--r-- | src/svg/qsvgrenderer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/svg/qsvgrenderer.cpp b/src/svg/qsvgrenderer.cpp index d4ad373..da31a31 100644 --- a/src/svg/qsvgrenderer.cpp +++ b/src/svg/qsvgrenderer.cpp @@ -401,10 +401,10 @@ void QSvgRenderer::render(QPainter *painter, const QString &elementId, } /*! - Renders the current document, or the current frame of an animated - document, using the given \a painter on the specified \a bounds within - the painter. If the bounding rectangle is not specified - the SVG file is mapped to the whole paint device. + Renders the current document, or the current frame of an animated document, + using the given \a painter on the specified \a bounds within the painter. + If \a bounds is not empty, the output will be scaled to fill it, ignoring + any aspect ratio implied by the SVG. */ void QSvgRenderer::render(QPainter *painter, const QRectF &bounds) { |