summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/expr/qemptycontainer_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-05-28 14:47:29 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2009-06-16 12:46:49 (GMT)
commitdf792f3f790e677552ea950b039d8f8e491180bf (patch)
tree3fc59c73a8c2e46bf4717c1e6f4eeef8b766e737 /src/xmlpatterns/expr/qemptycontainer_p.h
parentc41591d57377cd7c520efc93d9c087ad34d2bb6f (diff)
downloadQt-df792f3f790e677552ea950b039d8f8e491180bf.zip
Qt-df792f3f790e677552ea950b039d8f8e491180bf.tar.gz
Qt-df792f3f790e677552ea950b039d8f8e491180bf.tar.bz2
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/xmlpatterns/expr/qemptycontainer_p.h')
0 files changed, 0 insertions, 0 deletions