summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_qalgorithms.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-07-12 11:33:31 +0200
committerJiang Jiang <jiang.jiang@nokia.com>2011-07-12 15:58:35 +0200
commit2118a8df91263dcadd1ca0067caed84d1c749977 (patch)
treedf8bf1f038ac78c86757496bd57956e8bd7ec34c /doc/src/snippets/code/doc_src_qalgorithms.cpp
parentade1378a4fc479d7ff3de3eb636c222c195a9082 (diff)
downloadqt4-tools-2118a8df91263dcadd1ca0067caed84d1c749977.tar.gz
Compensate for different rounding rule in CG engine
After we switched to fractional metrics, Core Graphics engine always put text at floored vertical postion, while underlines will be rounded after 0.75. Ceiling the underline position will make sure it will always leave the underline pixels given. Task-number: QTBUG-19959 Reviewed-by: Eskil
Diffstat (limited to 'doc/src/snippets/code/doc_src_qalgorithms.cpp')
0 files changed, 0 insertions, 0 deletions