summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qtransform.cpp
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-04-29 15:33:10 (GMT)
committerBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-04-29 15:56:11 (GMT)
commit5969625334270892e39b6b43f4da735b830abdbe (patch)
tree65a3873020f512051753768d9d96756402a672e0 /src/gui/painting/qtransform.cpp
parent5a9623cb54c598aa4226883076fb413ef88215e5 (diff)
downloadQt-5969625334270892e39b6b43f4da735b830abdbe.zip
Qt-5969625334270892e39b6b43f4da735b830abdbe.tar.gz
Qt-5969625334270892e39b6b43f4da735b830abdbe.tar.bz2
Speed-up QPainter::clipRegion().
We can speed up the calculation by using rect intersections if possible, i.e. QRegion &= QRect instead of QRegion &= QRegion. Then we'll get rid of one QRegion construction and the intersection itself is slightly faster. Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting/qtransform.cpp')
0 files changed, 0 insertions, 0 deletions