diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2015-01-17 20:00:52 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2015-01-19 12:17:51 +0100 |
commit | ab65925b40134ff7d8b88c61db5235549599385f (patch) | |
tree | f4a4b61ecc8edc25bcea774456157929dd99f649 /vcl/inc/opengl/salbmp.hxx | |
parent | c22dbb2602c9c24eaa248a5a506dcb13ba435e9a (diff) |
"area" scaling for opengl that has good results for downscaling
Change-Id: I0e4ad776cbf31f9a130aedf0f9741927560b5ac1
Diffstat (limited to 'vcl/inc/opengl/salbmp.hxx')
-rw-r--r-- | vcl/inc/opengl/salbmp.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx index 200698f7c828..84c64ede7bd4 100644 --- a/vcl/inc/opengl/salbmp.hxx +++ b/vcl/inc/opengl/salbmp.hxx @@ -104,6 +104,7 @@ private: bool ImplScaleFilter( const double& rScaleX, const double& rScaleY, GLenum nFilter ); void ImplCreateKernel( const double& fScale, const Kernel& rKernel, GLfloat*& pWeights, sal_uInt32& aKernelSize ); bool ImplScaleConvolution( const double& rScaleX, const double& rScaleY, const Kernel& aKernel ); + bool ImplScaleArea( double rScaleX, double rScaleY ); public: |