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
This commit is contained in:
Stefan Csomor
2003-03-04 12:03:50 +00:00
parent f0f3dbd75e
commit bd3f6acd4d

View File

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