summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_gui_util_qundostack.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2010-12-11 00:03:14 +0100
committerSamuel Rødal <samuel.rodal@nokia.com>2010-12-15 13:17:20 +0100
commit21b1b5a9af95af10b281176564f14cafa2339006 (patch)
treea12805ac1a90419addd2a9c5e1d134eff66c1148 /doc/src/snippets/code/src_gui_util_qundostack.cpp
parente0aa9897bc2d04054cc65dbe3452bee2ed2eacd8 (diff)
downloadqt4-tools-21b1b5a9af95af10b281176564f14cafa2339006.tar.gz
Improve performance of clipping to a scaled QRectF
Clipping to a scaled QRectF was so far hitting the slow code path in the raster paintengine that generates clip spans for every line. This is not needed as we also clip translated QRectF's to integer rects. This patch does the same for scaled rectangles and ensures the clipping really happens at the closest pixel boundary. Reviewed-by: Samuel
Diffstat (limited to 'doc/src/snippets/code/src_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions