X Version 11 (Release 6.1)
XmuReadBitmapData(X3xmu)
XmuReadBitmapData --
read bitmap file description
Synopsis
cc . . . -lXmu
#include <X11/Xmu/Drawing.h>
int XmuReadBitmapData(fstream, width, height, datap, x_hot, y_hot)
FILE *fstream;
unsigned int *width, *height;
unsigned char *datap;
int *x_hot, *y_hot;
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
stream-
Specifies the stream to read from.
width-
Returns the width of the bitmap.
height-
Returns the height of the bitmap.
datap-
Returns the parsed bitmap data.
x_hot-
Returns the x coordinate of the hotspot.
y_hot-
Returns the y coordinate of the hotspot.
filename-
Specifies the file to read from.
Description
The XmuReadBitmapData function reads a
standard bitmap file description from the specified
stream, and returns the
parsed data in a format suitable for passing to
XCreateBitmapFromData.
The return value of the function has the same
interpretation as the return value for
XReadBitmapFile.
The XmuReadBitmapDataFromFile function reads a standard bitmap file description from the specified
file, and returns the parsed data in a format suitable for passing to
XCreateBitmapFromData.
The return value of the function has the same
interpretation as the return value for
XReadBitmapFile.
References
XmuDrawRoundedRectangle(X3xmu),
XmuDrawLogo(X3xmu),
XmuCreateStippledPixmap(X3xmu),
XmuLocateBitmapFile(X3xmu),
XmuCreatePixmapFromBitmap(X3xmu),
XCreateBitmapFromData(X3xlib),
XReadBitmapFile(X3xlib)
Xlib - C Language X Interface
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004