diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-12-22 23:16:41 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-12-22 23:16:41 (GMT) |
commit | be2acbcd6cfbaa75b502157061c385129e8f0b35 (patch) | |
tree | 5b6f36690c5cb357e816c51387aa4d795528ec9d /src/gui/widgets/qmainwindowlayout.cpp | |
parent | 0eabf288f6b05c788f547f761c6e7874856d2703 (diff) | |
download | Qt-be2acbcd6cfbaa75b502157061c385129e8f0b35.zip Qt-be2acbcd6cfbaa75b502157061c385129e8f0b35.tar.gz Qt-be2acbcd6cfbaa75b502157061c385129e8f0b35.tar.bz2 |
Use libjpeg's builtin scaler for implementing setScaledSize()
The libjpeg library has builtin support for scaling to 1/2, 1/4, and 1/8
the original size very quickly. Use this in the implementation of
setScaledSize() to get close to the desired size and then scale
with QImageSmoothScaler the rest of the way.
Task-number: QT-2023
Reviewed-by: Daniel Pope
Diffstat (limited to 'src/gui/widgets/qmainwindowlayout.cpp')
0 files changed, 0 insertions, 0 deletions