diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-09-18 12:48:00 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-09-18 13:02:25 (GMT) |
commit | 169099b5e9c77c6633deb3c7bb949800a5f80ec2 (patch) | |
tree | ef6cdfe6cc003e08e0b62c66f30b8203054c2bcf /doc/src/snippets/code/src_script_qscriptclass.cpp | |
parent | 99005e254b6055e63fc432efd38b9a5a2d0ffcc9 (diff) | |
download | Qt-169099b5e9c77c6633deb3c7bb949800a5f80ec2.zip Qt-169099b5e9c77c6633deb3c7bb949800a5f80ec2.tar.gz Qt-169099b5e9c77c6633deb3c7bb949800a5f80ec2.tar.bz2 |
Fixed broken scrolling of cached graphics items on X11.
The scrolling was broken in other graphics systems than the native,
since _q_scrollPixmap assumed that all QPixmaps were using the X11
backend. We can just use QPixmap::scroll instead, which should also make
it faster with the raster paint engine than creating a temporary painter
and doing a blit. Also, _q_scrollPixmap would do blending instead of
blitting for non-opaque pixmaps.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions