+ bool HasPixmap() const;
+
+ // Basically, this corresponds to Win32 StretchBlt()
+ wxBitmap Rescale( int clipx, int clipy, int clipwidth, int clipheight, int width, int height );
+
+ // raw bitmap access support functions
+ void *GetRawData(wxPixelDataBase& data, int bpp);
+ void UngetRawData(wxPixelDataBase& data);
+
+ bool HasAlpha() const;
+ void UseAlpha();
+
+protected:
+ bool CreateFromImage(const wxImage& image, int depth);
+
+private:
+ // to be called from CreateFromImage only!
+ bool CreateFromImageAsBitmap(const wxImage& image);
+ bool CreateFromImageAsPixmap(const wxImage& image);
+
+ friend class wxBitmapHandler;
+