diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-12-02 14:02:52 +0200 |
---|---|---|
committer | Andrew Knight <qt@panimo.net> | 2015-02-20 11:55:18 +0000 |
commit | dee1998d4e50d70fe212e46dd0b030337e7884cd (patch) | |
tree | 9dad0f73242eae74c4ae7b1a6d6020e34b4d52e0 /src/corelib/io/qfilesystemwatcher_inotify.cpp | |
parent | 97f451a600c474a2484c621cc66b0f29fe9c76c4 (diff) |
direct2d: Optimize dashed [poly]line drawing
Move the optimized dash drawing into stroke() in order to apply the
optimization to polygons in addition to lines.
In the case of polygons/polylines, a vertex patch is redrawn using the
original dash brush in order to respect the joinStyle of the line.
As the line correction code flows through both the optimized dashed path
and the standard geometry code path, line adjustment is now also performed
for normal geometry.
Task-number: QTBUG-40604
Done-with: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
Done-with: Andrew Knight <andrew.knight@theqtcompany.com>
Change-Id: I668369b4aadb6a1bbbd4d621cb8ce1e3b19fbbc9
Reviewed-by: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher_inotify.cpp')
0 files changed, 0 insertions, 0 deletions