From bd3f6acd4d17f4afd5a4d13c9865d35c414430ca Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 4 Mar 2003 12:03:50 +0000 Subject: [PATCH] added averaging shrinking function git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/image.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/image.h b/include/wx/image.h index ea439aab62..c8aad2d3e6 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -147,6 +147,8 @@ public: // return the new image with size width*height wxImage Scale( int width, int height ) const; + wxImage ShrinkBy( int xFactor , int yFactor ) const ; + // rescales the image in place wxImage& Rescale( int width, int height ) { return *this = Scale(width, height); }