diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2021-04-13 14:23:45 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-14 15:40:19 +0000 |
commit | 6869d2463a2e0d71bd04dbc82f5d6ef4933dc510 (patch) | |
tree | 8af4795a794f0d2a9e799a9b28249da347aa13d0 /tests/CMakeLists.txt | |
parent | 9148c2b010dd1aa4f5ebffc531d72cbc58af4cea (diff) |
Avoid processing-intensive painting of high number of tiny dashes
When stroking a dashed path, an unnecessary amount of processing would
be spent if there is a huge number of dashes visible, e.g. because of
scaling. Since the dashes are too small to be indivdually visible
anyway, just replace with a semi-transparent solid line for such
cases.
Change-Id: I9e9f7861257ad5bce46a0cf113d1a9d7824911e6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit f4d791b330d02777fcaf02938732892eb3167e9b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions