diff options
author | Andy Shaw <andy.shaw@qt.io> | 2017-01-13 12:45:08 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-01-31 05:54:01 +0000 |
commit | f42f1366dcd4b070c69c9e7fe42a704ef23da14d (patch) | |
tree | b093544db389efdc344e543b565b7d2f7f281fb5 /src/imports/shapes/qquickshape.cpp | |
parent | e6d4df156e9aec62054740dc99ab8ba2855eaafc (diff) |
Use the image handler to return a scaled size for the SVG
When the SVG was made to be drawn at a small width and a large height
then it would lead to blurring in the rendering of the SVG. By having
the image handler deal with returning the image we want for the scaled
size it will ensure this is rendered correctly since it is able to
account for the ratio already inside the SVG image handler.
Task-number: QTBUG-65789
Change-Id: Ib8627c0537679aab022e88a0eea73a21d8cbc564
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/imports/shapes/qquickshape.cpp')
0 files changed, 0 insertions, 0 deletions