summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-08-19 11:58:18 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-08-19 11:58:18 +0200
commit49409f612c47f30434aa809e4d2c963f1a6bb88a (patch)
treef895d36f89e9acb79013049bbd4b939161188149 /doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp
parent8cce6c8b2a2fe831d9b20a9c751e35a3bdb8f9b4 (diff)
downloadqt4-tools-49409f612c47f30434aa809e4d2c963f1a6bb88a.tar.gz
Correctly position aliased lines with flat caps
The code was mispositioning lines by half a pixel, as it added half a pixel offset and then rounded in addition. This submit fixes this and also removes certain artifacts when drawing rects at .5 pixel positions. Lance now doesn't show any significant differences to the 4.7 rendering anymore. Task-number: QTBUG-20199 Reviewed-by: Aavit
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp')
0 files changed, 0 insertions, 0 deletions