Adding wxBitmap::Rescale()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-10-07 12:43:08 +00:00
parent d81305cca2
commit f16994e949
4 changed files with 254 additions and 0 deletions

View File

@@ -111,6 +111,9 @@ 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);