diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2010-12-10 23:03:14 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-12-15 12:17:20 (GMT) |
commit | 21b1b5a9af95af10b281176564f14cafa2339006 (patch) | |
tree | a12805ac1a90419addd2a9c5e1d134eff66c1148 /src/gui/kernel/qcursor_win.cpp | |
parent | e0aa9897bc2d04054cc65dbe3452bee2ed2eacd8 (diff) | |
download | Qt-21b1b5a9af95af10b281176564f14cafa2339006.zip Qt-21b1b5a9af95af10b281176564f14cafa2339006.tar.gz Qt-21b1b5a9af95af10b281176564f14cafa2339006.tar.bz2 |
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 'src/gui/kernel/qcursor_win.cpp')
0 files changed, 0 insertions, 0 deletions