haiku/headers/private/servers/app/RenderingBuffer.h
Stephan Aßmus 18df650303 on the way of integrating Painter into build system, suppose this is where this file belongs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:45:26 +00:00

23 lines
486 B
C++

// RenderingBuffer.h
#ifndef RENDERING_BUFFER_H
#define RENDERING_BUFFER_H
#include <GraphicsDefs.h>
class RenderingBuffer {
public:
RenderingBuffer() {};
virtual ~RenderingBuffer() {};
virtual status_t InitCheck() const = 0;
virtual color_space ColorSpace() const = 0;
virtual void* Bits() const = 0;
virtual uint32 BytesPerRow() const = 0;
virtual uint32 Width() const = 0;
virtual uint32 Height() const = 0;
};
#endif // RENDERING_BUFFER_H