summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2018-06-22 15:56:15 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2018-06-28 14:28:53 +0000
commite5b3db841d9912cfc1a8252f5e6f687006a5ea2b (patch)
tree99a5c975042885594ab6eddbd2f0059b703d9d4e /tests
parent80a550dd79b8ed0ac72e775c98caefc4df16b882 (diff)
Fix: bad-looking scaled rendering of painterpath in OpenGL paint engine
For performance, the triangulation of a painter path is stored for reuse. Re-triangulation was only done if the path was to be painted at a significantly different scale AND it contained a curve (bezier) element. But also the triangulation of a path with only straight lines can lose precision if rendered at a small scale, and so look bad when used at a higher scale factor. Fix by removing the mentioned curve element condition. Task-number: QTBUG-68873 Change-Id: Id3492514e9382a5828377b7bafea8cfac7b850a6 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions