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.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Initialize the empty buffer object. |
|
Returns the internal bitmap for direct drawing. |
|
Gets the color value of the pixel at the given |
Class API¶
- class 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.
Methods¶
- __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.