diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-05-28 14:47:29 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:27:52 (GMT) |
commit | 72e083c98c3adb07bb1578fb7f28f121fc3f34ac (patch) | |
tree | c47d1e0624752905bbfcf97af3778213a6d06200 /src/gui/painting/qgraphicssystem_raster_p.h | |
parent | fa256ad3758e0d8794136975f0e93ddfa91216f5 (diff) | |
download | Qt-72e083c98c3adb07bb1578fb7f28f121fc3f34ac.zip Qt-72e083c98c3adb07bb1578fb7f28f121fc3f34ac.tar.gz Qt-72e083c98c3adb07bb1578fb7f28f121fc3f34ac.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.
Reviewed-by: Andreas
Diffstat (limited to 'src/gui/painting/qgraphicssystem_raster_p.h')
0 files changed, 0 insertions, 0 deletions