phoenix_title 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 Class Hierarchy

Inheritance diagram for class BitmapBuffer:

super_classes Known Superclasses

wx.MemoryDC


method_summary 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


api 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.