diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-06-04 15:02:45 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-06-05 11:28:07 +0200 |
commit | 94f87ad9b1e50bb4458eb0b3e87dd053b636094f (patch) | |
tree | 9c8dc92899f90c12e05200ad24edd7b3e0cec1cf | |
parent | 9afb6e1e38c362a768e8e981f7b03cf8bcaf22cf (diff) |
Let's be bold, and default to the nice method when scaling.
[ie. use BMP_SCALE_FAST only where explicitly asked for.]
Change-Id: Ia5eccc786262216a803b989b073ffd9c1ed78377
-rw-r--r-- | vcl/inc/vcl/bitmap.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/vcl/bitmapex.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/vcl/bitmap.hxx b/vcl/inc/vcl/bitmap.hxx index 14aae27f1b62..8b11318ffb1b 100644 --- a/vcl/inc/vcl/bitmap.hxx +++ b/vcl/inc/vcl/bitmap.hxx @@ -538,7 +538,7 @@ public: @return sal_True, if the operation was completed successfully. */ sal_Bool Scale( const Size& rNewSize, - sal_uLong nScaleFlag = BMP_SCALE_FAST ); + sal_uLong nScaleFlag = BMP_SCALE_LANCZOS ); /** Scale the bitmap @@ -551,7 +551,7 @@ public: @return sal_True, if the operation was completed successfully. */ sal_Bool Scale( const double& rScaleX, const double& rScaleY, - sal_uLong nScaleFlag = BMP_SCALE_FAST ); + sal_uLong nScaleFlag = BMP_SCALE_LANCZOS ); /** Rotate bitmap by the specified angle diff --git a/vcl/inc/vcl/bitmapex.hxx b/vcl/inc/vcl/bitmapex.hxx index c9e462723169..f1f46d3aec35 100644 --- a/vcl/inc/vcl/bitmapex.hxx +++ b/vcl/inc/vcl/bitmapex.hxx @@ -254,7 +254,7 @@ public: @return sal_True, if the operation was completed successfully. */ - sal_Bool Scale( const Size& rNewSize, sal_uLong nScaleFlag = BMP_SCALE_FAST ); + sal_Bool Scale( const Size& rNewSize, sal_uLong nScaleFlag = BMP_SCALE_LANCZOS ); /** Scale the bitmap @@ -266,7 +266,7 @@ public: @return sal_True, if the operation was completed successfully. */ - sal_Bool Scale( const double& rScaleX, const double& rScaleY, sal_uLong nScaleFlag = BMP_SCALE_FAST ); + sal_Bool Scale( const double& rScaleX, const double& rScaleY, sal_uLong nScaleFlag = BMP_SCALE_LANCZOS ); /** Rotate bitmap by the specified angle |