Pixmap objects are used to represent the Pixmap type. A Pixmap object can be obtained using the widget method CreatePixmap.
A Pixmap is an offscreen piece of memory in which the application can draw. Drawing in the pixmap can be done using a Graphics Context object which can be created using the CreateGC method. The pixmap can be copied to a window or another pixmap using the CopyArea and CopyPlane methods.
Pixmap objects (pixmap_objects) have the following methods:
destobject, gc_object, src_x, src_y, width, height, dest_x, dest_y) |
destobject, gc_object, src_x, src_y, width, height, dest_x, dest_y, plane) |
gc_dict) |
gc_object
.
This function corresponds with XCreateGC.
file) |
(width, height, pixmap_object, hotspot_x, hotspot_y)
.
This function corresponds with XReadBitmapFile.
file, width, height[, x_hot, y_hot]) |