NAME
XmuReadBitmapDataFromFile — read and check bitmap data from a file.
SYNOPSIS
#include <X11/Xmu/Drawing.h>
int XmuReadBitmapDataFromFile(filename, width, height, datap, x_hot,
y_hot)
char ∗filename;
unsigned int ∗width, ∗height;
unsigned char ∗∗datap;
int ∗x_hot, ∗y_hot;
ARGUMENTS
filenameSpecifies the file to read from.
widthReturns the width of the bitmap.
heightReturns the height of the bitmap.
datapReturns the parsed bitmap data.
x_hotReturns the x coordinate of the hotspot.
y_hotReturns the y coordinate of the hotspot.
DESCRIPTION
XmuReadBitmapDataFromFile reads a standard bitmap file description from the specified file, and returns the parsed data in a format suitable for passing to XCreatePixmapFromBitmapData(). The return value of the function has the same meaning as the return value for XReadBitmapFile().
Unlike XReadBitmapFile(), this function does not create a pixmap. This function is useful when you want to create a multi-plane pixmap without creating an intermediate one-plane pixmap.
SEE ALSO
XmuCreatePixmapFromBitmap, XmuCreateStippledPixmap, XmuDrawLogo, XmuDrawRoundedRectangle, XmuFillRoundedRectangle, XmuLocateBitmapFile, XmuReadBitmapData, XmuReleaseStippledPixmap.
Xlib Reference Manual