NAME
XmuCreatePixmapFromBitmap — create multi-plane pixmap and copy data from one-plane pixmap.
SYNOPSIS
#include <X11/Xmu/Drawing.h>
Pixmap XmuCreatePixmapFromBitmap(display, d, bitmap, width, height,
depth, fore, back)
Display ∗display;
Drawable d;
Pixmap bitmap;
unsigned int width, height;
unsigned int depth;
unsigned long fore, back;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
dSpecifies the screen the pixmap is created on.
bitmapSpecifies the bitmap source.
widthSpecifies the width of the pixmap.
heightSpecifies the height of the pixmap.
depthSpecifies the depth of the pixmap.
foreSpecifies the foreground pixel value.
backSpecifies 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. The original bitmap is not destroyed.
SEE ALSO
XmuCreateStippledPixmap, XmuDrawLogo, XmuDrawRoundedRectangle, XmuFillRoundedRectangle, XmuLocateBitmapFile, XmuReadBitmapData, XmuReadBitmapDataFromFile, XmuReleaseStippledPixmap.
Xlib Reference Manual