path: root/src/gui/painting/qoutlinemapper.cpp
diff options
authorSamuel Rødal <>2012-09-20 15:30:24 +0200
committerThe Qt Project <>2012-09-20 23:08:44 +0200
commit72aaba336c7afe6d79d59995bfb31a8effca4e9e (patch)
treee6f38c0330f1229bec0f4db6e4a612e6d2f8b46d /src/gui/painting/qoutlinemapper.cpp
parent562d6ff90f693e43086b286b6e4b2bf2e581e111 (diff)
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 Change-Id: Ic09249337f814c7de95a17976ec9e651561a744b Reviewed-by: Lars Knoll <>
Diffstat (limited to 'src/gui/painting/qoutlinemapper.cpp')
0 files changed, 0 insertions, 0 deletions