diff options
author | Jason Barron <jason.barron@nokia.com> | 2010-09-22 13:41:40 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-09-24 05:46:17 (GMT) |
commit | a0dc929adce57da459a27927d66c05c2f22b3560 (patch) | |
tree | 7305bd410c3b16515532b15989e4130ef950c599 /doc/src/snippets/code/src_gui_image_qpixmapcache.cpp | |
parent | 3c68304a73e52a2cca5bfc0e43b379d2857bd92a (diff) | |
download | Qt-a0dc929adce57da459a27927d66c05c2f22b3560.zip Qt-a0dc929adce57da459a27927d66c05c2f22b3560.tar.gz Qt-a0dc929adce57da459a27927d66c05c2f22b3560.tar.bz2 |
Avoid OpenVG rendering errors when stroking an aliased path.
Stroking a path can sometimes result in inconsistent rendering
especially when combined with a clip. For example, if the logical edge
of a clip rect coincides with the logical edge of a path then it can
happen that the edge is not painted correctly because the stroke lies
outside the bounds of the clip rect. To workaround this problem, we add
the 'aliasedCoordinateDelta' such that the rounding will err on the
side of caution. This improves the correctness when using the raster
engine as a reference.
Task-number: QTBUG-13165
Reviewed-by: Samuel
(cherry picked from commit 74f09c794d5fdcb8f4b547b1c55bcd512ef07b95)
Diffstat (limited to 'doc/src/snippets/code/src_gui_image_qpixmapcache.cpp')
0 files changed, 0 insertions, 0 deletions