From 534f03125173b4b8b1f74e4acaf21c75b585eb40 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 3 Mar 2003 15:25:36 +0000 Subject: [PATCH] added shrink procedure with proper color averaging git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19449 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 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); } -- 2.45.2