typedef struct _GdkPixbuf GdkPixbuf;
#endif
+class WXDLLEXPORT wxPixelDataBase;
+
//-----------------------------------------------------------------------------
// classes
//-----------------------------------------------------------------------------
-class wxMask;
-class wxBitmap;
-class wxImage;
+class WXDLLIMPEXP_CORE wxMask;
+class WXDLLIMPEXP_CORE wxBitmap;
+class WXDLLIMPEXP_CORE wxImage;
//-----------------------------------------------------------------------------
// wxMask
//-----------------------------------------------------------------------------
-class wxMask: public wxObject
+class WXDLLIMPEXP_CORE wxMask: public wxObject
{
public:
wxMask();
// wxBitmap
//-----------------------------------------------------------------------------
-class wxBitmap: public wxBitmapBase
+class WXDLLIMPEXP_CORE wxBitmap: public wxBitmapBase
{
public:
wxBitmap();
// 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 CreateFromXpm(const char **bits);
bool CreateFromImage(const wxImage& image, int depth);
// wxBitmapHandler
//-----------------------------------------------------------------------------
-class wxBitmapHandler: public wxBitmapHandlerBase
+class WXDLLIMPEXP_CORE wxBitmapHandler: public wxBitmapHandlerBase
{
public:
wxBitmapHandler() { }