From: Stefan Csomor Date: Mon, 3 Mar 2003 15:25:36 +0000 (+0000) Subject: added shrink procedure with proper color averaging X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/534f03125173b4b8b1f74e4acaf21c75b585eb40 added shrink procedure with proper color averaging git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/image.h b/include/wx/image.h index a165ad2794..6b01d9e2c1 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -149,6 +149,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); }