Added wxBitmap::Rescale() from 2_4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-10-09 20:01:49 +00:00
parent 9fe7d43031
commit 783da8450c
4 changed files with 326 additions and 0 deletions

View File

@@ -113,6 +113,8 @@ public:
GdkPixmap *GetPixmap() const;
GdkBitmap *GetBitmap() const;
// Basically, this corresponds to Win32 StretchBlt()
wxBitmap Rescale( int clipx, int clipy, int clipwidth, int clipheight, int width, int height );
protected:
bool CreateFromXpm(const char **bits);
bool CreateFromImage(const wxImage& image, int depth);