]> git.saurik.com Git - wxWidgets.git/commitdiff
added shrink procedure with proper color averaging
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 3 Mar 2003 15:25:36 +0000 (15:25 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 3 Mar 2003 15:25:36 +0000 (15:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/image.h

index a165ad27949b1d21ad65820d365a5f04c8a9fd61..6b01d9e2c1b2ea395d335df4068ac499a4981a5c 100644 (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); }