63    virtual void Resize( 
unsigned int aWidth, 
unsigned int aHeight ) = 0;
 
   87    virtual void SetBuffer( 
unsigned int aBufferHandle ) = 0;
 
 
A color representation with 4 components: red, green, blue, alpha.
 
virtual void Initialize()=0
Perform primary initialization, necessary to use the object.
 
virtual void Begin()=0
Call this at the beginning of each frame.
 
unsigned int m_height
Height of the buffer (in pixels)
 
virtual unsigned int GetBuffer() const =0
Return currently used buffer handle.
 
unsigned int m_width
Width of the buffer (in pixels)
 
virtual void Present()=0
Call this to present the output buffer to the screen.
 
virtual void ClearBuffer(const COLOR4D &aColor)=0
Clear the selected buffer (set by the SetBuffer() function).
 
virtual void SetBuffer(unsigned int aBufferHandle)=0
Set the selected buffer as the rendering target.
 
virtual unsigned int CreateBuffer()=0
Prepare a new buffer that may be used as a rendering target.
 
virtual void Resize(unsigned int aWidth, unsigned int aHeight)=0
Clear the state of COMPOSITOR, so it has to be reinitialized again with the new dimensions.
 
virtual void DrawBuffer(unsigned int aBufferHandle)=0
Draw the selected buffer to the output buffer.
 
The Cairo implementation of the graphics abstraction layer.