summaryrefslogtreecommitdiffstats
path: root/examples/xml
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-01-03 14:35:53 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-01-04 09:25:51 (GMT)
commit1e7922262c29ba29a70226cf8894645f46df3ca2 (patch)
tree1a977f1b82fc68320830042eb4f518c741355215 /examples/xml
parentcdebdfc7964df6b19f8bd520335a8645c1a125e6 (diff)
downloadQt-1e7922262c29ba29a70226cf8894645f46df3ca2.zip
Qt-1e7922262c29ba29a70226cf8894645f46df3ca2.tar.gz
Qt-1e7922262c29ba29a70226cf8894645f46df3ca2.tar.bz2
Introduce new "snapToPixelGrid" flag to GL2 engine for drawText
When we're rendering text, the glyphs need to be aligned to the pixel grid otherwise we get strange artifacts. Normally text is drawn at integer coordinates, however it is still possible to have a transform which translates by a non-integer offset. This patch adds a flag to the engine which can be used to snap any translate to the pixel grid. Task-number: QTBUG-7094 Reviewed-By: Kim
Diffstat (limited to 'examples/xml')
0 files changed, 0 insertions, 0 deletions