class Pixmap(ImageBase)

A Pixmap is an offscreen area that can be used both as a destination for drawing and a source of image data for drawing in a View or another Pixmap.


Pixmap(width, height)
Creates a new, empty Pixmap with the given width and height.


Calls the given procedure with a Canvas suitable for drawing on this Pixmap. The canvas is valid only for the duration of the call, and should not be retained beyond it.