]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/bitmap.h
Global platform header (<PalmOS.h>) removed from public wx-headers (but included...
[wxWidgets.git] / include / wx / gtk / bitmap.h
index c34381159820dafa61e6eb338ae35d7addbf0807..c3058826d59f75050d356ee284072b05d634fc49 100644 (file)
@@ -25,6 +25,8 @@
 typedef struct _GdkPixbuf GdkPixbuf;
 #endif
 
+class WXDLLEXPORT wxPixelDataBase;
+
 //-----------------------------------------------------------------------------
 // classes
 //-----------------------------------------------------------------------------
@@ -130,6 +132,14 @@ public:
     
     // 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);