diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2012-09-20 15:30:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-25 15:35:09 +0200 |
commit | 87cd2d3530dfd3d7dc78b7dab50aefde87ca3b16 (patch) | |
tree | 929cdf900ec7087ead0b0fad1ce0d3870fbfb73c /doc/src/snippets/code/src_sql_kernel_qsqlresult.cpp | |
parent | f6bd9714a956000b18045576f648431ea569f9e8 (diff) | |
download | qt4-tools-87cd2d3530dfd3d7dc78b7dab50aefde87ca3b16.tar.gz |
Fixed inconsistent rounding of square cap pens.
A horizontal line should round up at the same time as a vertical line
with square cap, when rendering at subpixel coordinates. Thus, the
special casing in the cosmetic stroker of offsetting by half a pixel
should be for flat caps instead of for square caps.
Task-number: QTBUG-26013
(cherry picked from commit 72aaba336c7afe6d79d59995bfb31a8effca4e9e)
Change-Id: If7e7c6b6e37c5b1ce4685012a11fd29ff0b1df5a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlresult.cpp')
0 files changed, 0 insertions, 0 deletions