A screen buffer class.
This class implements a screen output buffer. Data is meant to be drawn in the buffer class and then blitted directly to the output device, or on-screen window.
Initialize the empty buffer object. |
|
Returns the internal bitmap for direct drawing. |
|
Gets the color value of the pixel at the given |
BitmapBuffer
(wx.MemoryDC)¶A screen buffer class.
This class implements a screen output buffer. Data is meant to be drawn in the buffer class and then blitted directly to the output device, or on-screen window.
__init__
(self, width, height, colour)¶Initialize the empty buffer object.
GetBitmap
(self)¶Returns the internal bitmap for direct drawing.
GetPixelColour
(self, x, y)¶Gets the color value of the pixel at the given cords.