added shrink procedure with proper color averaging

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2003-03-03 15:25:36 +00:00
parent 6627d4dfb7
commit 534f031251

View File

@ -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); }