summaryrefslogtreecommitdiff
path: root/src/gui/image/qpixmap_x11.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-05-28 16:47:29 +0200
committerLars Knoll <lars.knoll@nokia.com>2009-06-16 14:46:49 +0200
commitdf792f3f790e677552ea950b039d8f8e491180bf (patch)
tree3fc59c73a8c2e46bf4717c1e6f4eeef8b766e737 /src/gui/image/qpixmap_x11.cpp
parentc41591d57377cd7c520efc93d9c087ad34d2bb6f (diff)
downloadqt4-tools-df792f3f790e677552ea950b039d8f8e491180bf.tar.gz
greatly speed up QTransform::mapRect() for projective transforms
The code so far was converting the rect to a painterpath, mapping that one and then taking the bounding rect. It is actually sufficient to simply map the four corners of the rectangle and take the bounding rect of these four points even in the projective case. Fix the MAP macro to be more correct for degenerated projective transformations. Reviewed-By: Samuel
Diffstat (limited to 'src/gui/image/qpixmap_x11.cpp')
0 files changed, 0 insertions, 0 deletions