RemoteDesktop: Implement support for BAffineTransform.
[haiku.git] / src / servers / app / drawing / BBitmapBuffer.h
blob99ee053f75df8c19010140e9eac42d6706b3e0c2
1 // BBitmapBuffer.h
3 #ifndef B_BITMAP_BUFFER_H
4 #define B_BITMAP_BUFFER_H
6 #include "RenderingBuffer.h"
8 class BBitmap;
10 class BBitmapBuffer : public RenderingBuffer {
11 public:
12 BBitmapBuffer(BBitmap* bitmap);
13 virtual ~BBitmapBuffer();
15 virtual status_t InitCheck() const;
17 virtual color_space ColorSpace() const;
18 virtual void* Bits() const;
19 virtual uint32 BytesPerRow() const;
20 virtual uint32 Width() const;
21 virtual uint32 Height() const;
23 // BBitmapBuffer
24 const BBitmap* Bitmap() const
25 { return fBitmap; }
26 private:
28 BBitmap* fBitmap;
31 #endif // B_BITMAP_BUFFER_H