X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ea63e6e046652bc0799badd9d62f91c9918dbe..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 7f2b0904ea..09aa6ed4a2 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -117,6 +117,11 @@ public: // 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 );