RemoteDesktop: Implement support for BAffineTransform.
[haiku.git] / src / servers / app / drawing / BitmapBuffer.h
blob007700ab2b5af16431067df847039448169e44c1
1 // BitmapBuffer.h
3 #ifndef BITMAP_BUFFER_H
4 #define BITMAP_BUFFER_H
6 #include "RenderingBuffer.h"
8 class ServerBitmap;
10 class BitmapBuffer : public RenderingBuffer {
11 public:
12 BitmapBuffer(ServerBitmap* bitmap);
13 virtual ~BitmapBuffer();
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 // BitmapBuffer
24 const ServerBitmap* Bitmap() const
25 { return fBitmap; }
26 private:
28 ServerBitmap* fBitmap;
31 #endif // BITMAP_BUFFER_H