diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-10-20 15:45:45 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2014-10-20 20:52:14 +0200 |
commit | 14fa3c45fcc71f1b5b7c84ae23a1f7a5d2f22e9e (patch) | |
tree | 65707885157269a1c4051f8d3ef36fe58693dfd7 /src/svg/qsvgtinydocument.cpp | |
parent | 9f1c31c8a3cfd0f341987e8011abad172592dd3c (diff) | |
download | qtsvg-14fa3c45fcc71f1b5b7c84ae23a1f7a5d2f22e9e.tar.gz |
Don't stroke a path if it's not specified in the SVG
The code in the svg renderer is using a QPen with it's brush
set to Qt::NoBrush as a hack to indicate that we don't have a
stroke to paint, but to nevertheless use QPen to keep track of
state. So when rendering, we have to check for the pen having
no brush and in that case not draw anything.
Task-number: QTBUG-36767
Change-Id: Ib622c7d0108e7360437f57853f11c65190c16773
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/svg/qsvgtinydocument.cpp')
0 files changed, 0 insertions, 0 deletions