summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2012-09-20 13:30:24 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-25 13:35:09 (GMT)
commit87cd2d3530dfd3d7dc78b7dab50aefde87ca3b16 (patch)
tree929cdf900ec7087ead0b0fad1ce0d3870fbfb73c /doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
parentf6bd9714a956000b18045576f648431ea569f9e8 (diff)
downloadQt-87cd2d3530dfd3d7dc78b7dab50aefde87ca3b16.zip
Qt-87cd2d3530dfd3d7dc78b7dab50aefde87ca3b16.tar.gz
Qt-87cd2d3530dfd3d7dc78b7dab50aefde87ca3b16.tar.bz2
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/doc_src_unix-signal-handlers.cpp')
0 files changed, 0 insertions, 0 deletions