ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/xraster.h
Revision: 2.1
Committed: Tue Nov 12 16:54:31 1991 UTC (33 years, 6 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 1.3: +0 -0 lines
Log Message:
updated revision number for release 2.0

File Contents

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