summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_kernel_qlayout.cpp
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-07-29 09:09:48 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-08-03 14:18:07 (GMT)
commit51f2817739bca77f883c43e4e6fc086123bfcebd (patch)
tree0750f85854fed06e7a13f6eafaefdf3c94aa2dec /doc/src/snippets/code/src_gui_kernel_qlayout.cpp
parentd5d41f3881c2c098727cdbc8a58d2a7ba2cbeb5b (diff)
downloadQt-51f2817739bca77f883c43e4e6fc086123bfcebd.zip
Qt-51f2817739bca77f883c43e4e6fc086123bfcebd.tar.gz
Qt-51f2817739bca77f883c43e4e6fc086123bfcebd.tar.bz2
Fix the rendering of lines with the X11 paint engine
On the X11 paint engine, when rendering lines with float coordinates, the lines were one pixel off if the decimal was > 0.5. This fixes the WebKit bug https://bugs.webkit.org/show_bug.cgi?id=42248 Autotest by Yoann Lopes. Reviewed-by: Simon Hausmann Reviewed-by: Yoann Lopes Reviewed-by: Andreas Kling (cherry picked from commit ebbab30af417dfbf3df47dec15c0e2f8d6a30fa6)
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qlayout.cpp')
0 files changed, 0 insertions, 0 deletions