xz_pixmap(x) Xlib xz_pixmap(x)
NAME
xz_pixmap - an X ZPixmap image.
DESCRIPTION
The xz_pixmap class provides an interface to an X ZPixmap
image. The image depth must be the same as the drawable
it is placed on. It is organized in memory as an array of
pixel values. This format is often known as a "pixel-
mode" image, and is most useful with 8-bit or 32-bit pixel
values.
SUPERCLASS
ximage
INSTANCE VARIABLES
MESSAGES
image_class?
returns 2, for ZPixmap.
EXAMPLE
/* create an image and place it in a window*/
xz_pixmap new: the_image
width= 256
height= 256
data= a_pointer_to_the_image_data
create!;
xwindow new: the_window
width= 256
height= 256
map!
put_image: the_image ;
SEE ALSO
ximage, xyy_pixmap, xyy_bitmap, xwindow
Please send comments and suggestions toconsult@rpi.edu