3 #ifndef BITMAP_BUFFER_H
4 #define BITMAP_BUFFER_H
6 #include "RenderingBuffer.h"
10 class BitmapBuffer
: public RenderingBuffer
{
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;
24 const ServerBitmap
* Bitmap() const
28 ServerBitmap
* fBitmap
;
31 #endif // BITMAP_BUFFER_H