home *** CD-ROM | disk | FTP | other *** search
- /* Copyright 1988 Regents of the University of California */
-
- /* SCCSid "@(#)xraster.h 2.1 11/12/91 LBL" */
-
- /*
- * xraster.h - header file for X routines using images.
- *
- * 2/18/88
- */
-
- typedef struct {
- int width, height; /* image size */
- int ncolors; /* number of colors */
- union {
- unsigned short *m; /* monochrome */
- unsigned char *bz; /* color */
- } data; /* storage on our side */
- Pixmap pm; /* storage on server side */
- Color *cdefs; /* color definitions */
- int *pmap; /* inverse pixel mapping */
- int *pixels; /* allocated table entries */
- } XRASTER;
-
- extern int *map_rcolors();
-
- extern Pixmap make_rpixmap();
-