diff options
author | Louai Al-Khanji <louai.al-khanji@digia.com> | 2014-04-29 16:14:19 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-30 08:23:39 +0200 |
commit | 0edb21df154cd2469ba91ea95c8c6464d1140c8d (patch) | |
tree | 154d2b72273e9773d8ff3ca2cf35346aaf8387f9 /src/plugins/platforms/eglfs/qeglfsscreen.cpp | |
parent | 090124eab6f184abbe9be04f4bc1a9eee5285207 (diff) |
Direct2D QPA: Pixel-align aliased drawing
Aliased drawing has so far not been perfectly pixel aligned, resulting in
less than stellar output in some instances. Although a little hacky,
adding 0.5 to all coordinates when in aliased mode fixes things up nicely.
There doesn't appear to be a better way to get d2d to cooperate as we
would like it to.
Change-Id: I10ee494d2f576bfd0eca6d4429095a3726c0bf14
Reviewed-by: Risto Avila <risto.avila@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.cpp')
0 files changed, 0 insertions, 0 deletions