ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/xraster.h
Revision: 1.1
Committed: Thu Feb 2 10:34:24 1989 UTC (36 years, 3 months ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Initial revision

File Contents

# Content
1 /*
2
3 /* SCCSid "$SunId$ LBL" */
4 * xraster.h - header file for X routines using Sun rasterfiles.
5 *
6 * 2/18/88
7 */
8
9 typedef struct {
10 int width, height; /* image size */
11 int ncolors; /* number of colors */
12 union {
13 unsigned short *m; /* monochrome */
14 unsigned char *bz; /* color */
15 } data; /* storage on our side */
16 Pixmap pm; /* storage on server side */
17 Color *cdefs; /* color definitions */
18 int *pmap; /* inverse pixel mapping */
19 int *pixels; /* allocated table entries */
20 } XRASTER;
21
22 extern int *map_rcolors();
23
24 extern Pixmap make_rpixmap();