wx.lib.colourchooser.canvas.BitmapBuffer¶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.
Methods Summary¶__init__ |
Initialize the empty buffer object. |
GetBitmap |
Returns the internal bitmap for direct drawing. |
GetPixelColour |
Gets the color value of the pixel at the given |
Class API¶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.