]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/image.h
Removed unnecessary code from utilsunx.cpp
[wxWidgets.git] / include / wx / image.h
index 7f2b0904eac49eed8d4a68254f94e3d317e198d9..09aa6ed4a2899b47731ba0d27c2ff12009404db2 100644 (file)
@@ -117,6 +117,11 @@ public:
     // rescales the image in place
     wxImage& Rescale( int width, int height ) { return *this = Scale(width, height); }
 
     // rescales the image in place
     wxImage& Rescale( int width, int height ) { return *this = Scale(width, height); }
 
+    // Rotates the image about the given point, 'angle' radians.
+    // Returns the rotated image, leaving this image intact.
+    wxImage Rotate(double angle, const wxPoint & centre_of_rotation,
+                   bool interpolating = TRUE, wxPoint * offset_after_rotation = (wxPoint*) NULL) const ;
+
     // replace one colour with another
     void Replace( unsigned char r1, unsigned char g1, unsigned char b1,
                   unsigned char r2, unsigned char g2, unsigned char b2 );
     // replace one colour with another
     void Replace( unsigned char r1, unsigned char g1, unsigned char b1,
                   unsigned char r2, unsigned char g2, unsigned char b2 );