gdk-Bitmaps-and-Pixmaps: Bitmaps and Pixmaps
Description
Offscreen drawablesMethods and Functions
gdkPixmapNew(drawable = NULL, width, height, depth = -1)
gdkBitmapCreateFromData(drawable = NULL, data, width, height)
gdkPixmapCreateFromData(drawable = NULL, data, height, depth, fg, bg)
gdkPixmapCreateFromXpm(drawable, transparent.color, filename)
gdkPixmapColormapCreateFromXpm(drawable, colormap, transparent.color, filename)
gdkPixmapCreateFromXpmD(drawable, transparent.color, data)
gdkPixmapColormapCreateFromXpmD(drawable, colormap, transparent.color, data)
gdkPixmap(drawable, data, transparent.color, height, width, depth, filename, colormap, fg, bg)
Hierarchy
GObject
+----GdkDrawable
+----GdkPixmapDetailed Description
Pixmaps are offscreen drawables. They can be drawn upon with the
standard drawing primitives, then copied to another drawable (such as
a GdkWindow) with gdkPixmapDraw()
. The depth of a pixmap
is the number of bits per pixels. Bitmaps are simply pixmaps
with a depth of 1. (That is, they are monochrome bitmaps - each
pixel can be either on or off).References
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Bitmaps-and-Pixmaps.html