diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-06-10 13:50:44 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-10 23:29:58 +0200 |
commit | 900cccfd459fcbdbc4aa3d313afe12cfbf68fd87 (patch) | |
tree | 4c0e9ad6be8ea0e5be7737fd51fad1b4e839e0e2 /src/plugins/platforms/android/src | |
parent | 1937012b3e09e5f0b9a1c056e05e6109e3bd8d55 (diff) |
Fix drawing of 0-width polylines from outside the devicerect.
This was broken by a previous fix which aimed to fix gaps in
polylines with tiny line segments. The result was that we
skipped updating the origin point when stroke() didn't produce
pixels which accidentally included the case of the line
being completely outside the deviceRect. I fixed this
by returning the value of clipLine in drawLine to the caller
so we could still update the origin for this case.
Task-number: QTBUG-31579
Change-Id: Iac29436f042da7658bbeaf9370351dc6f2c95065
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/plugins/platforms/android/src')
0 files changed, 0 insertions, 0 deletions