ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/xraster.h
Revision: 1.3
Committed: Fri Feb 24 19:44:23 1989 UTC (36 years, 2 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 1.2: +1 -1 lines
Log Message:
Fixed comments in header

File Contents

# User Rev Content
1 greg 1.2 /* Copyright 1988 Regents of the University of California */
2 greg 1.1
3     /* SCCSid "$SunId$ LBL" */
4 greg 1.2
5     /*
6 greg 1.3 * xraster.h - header file for X routines using images.
7 greg 1.1 *
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();