X Version 11 (Release 6.1)

XmuCreatePixmapFromBitmap(X3xmu)


XmuCreatePixmapFromBitmap -- create pixmap from bitmap

Synopsis

cc . . . -lXmu

#include <X11/Xmu/Drawing.h>

Pixmap XmuCreatePixmapFromBitmap (dpy, d, bitmap, width, height, depth, fore, back) Display *dpy; Drawable d; Pixmap bitmap; unsigned int width, height, depth; unsigned long fore, back;

Arguments


dpy
Specifies the connection to the X server.

d
Specifies the screen the pixmap is created on.

bitmap
Specifies the bitmap source.

width
Specifies the width of the pixmap.

height
Specifies the height of the pixmap.

depth
Specifies the depth of the pixmap.

fore
Specifies the foreground pixel value.

back
Specifies the background pixel value.

Description

XmuCreatePixmapFromBitmap creates a pixmap of the specified width, height, and depth, on the same screen as the specified drawable, and then performs an XCopyPlane from the specified bitmap to the pixmap, using the specified foreground and background pixel values. The created pixmap is returned.

References

XCopyPlane(X3xlib), XmuDrawRoundedRectangle(X3xmu), XmuDrawLogo(X3xmu), XmuCreateStippledPixmap(X3xmu), XmuReadBitmapData(X3xmu), XmuLocateBitmapFile(X3xmu)
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004