diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-01-03 14:35:53 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-01-04 09:25:51 (GMT) |
commit | 1e7922262c29ba29a70226cf8894645f46df3ca2 (patch) | |
tree | 1a977f1b82fc68320830042eb4f518c741355215 /src/xmlpatterns/janitors/qebvextractor_p.h | |
parent | cdebdfc7964df6b19f8bd520335a8645c1a125e6 (diff) | |
download | Qt-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 'src/xmlpatterns/janitors/qebvextractor_p.h')
0 files changed, 0 insertions, 0 deletions