diff options
author | Bjoern Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-04-29 15:33:10 (GMT) |
---|---|---|
committer | Bjoern Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-04-29 15:56:11 (GMT) |
commit | 5969625334270892e39b6b43f4da735b830abdbe (patch) | |
tree | 65a3873020f512051753768d9d96756402a672e0 /src/gui/painting/qtransform.cpp | |
parent | 5a9623cb54c598aa4226883076fb413ef88215e5 (diff) | |
download | Qt-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