ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/xraster.h
Revision: 3.3
Committed: Fri Jun 27 06:53:22 2003 UTC (20 years, 10 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 3.2: +1 -3 lines
Log Message:
Broke standard.h into rtio.h, rterror.h, rtmath.h, and rtmisc.h

File Contents

# User Rev Content
1 greg 3.3 /* RCSid $Id: xraster.h,v 3.2 2003/02/25 02:47:22 greg Exp $ */
2 greg 3.1 /*
3     * xraster.h - header file for X routines using images.
4     */
5    
6     typedef struct {
7     int width, height; /* image size */
8     int ncolors; /* number of colors */
9     union {
10     unsigned short *m; /* monochrome */
11     unsigned char *bz; /* color */
12     } data; /* storage on our side */
13     Pixmap pm; /* storage on server side */
14     Color *cdefs; /* color definitions */
15     int *pmap; /* inverse pixel mapping */
16     int *pixels; /* allocated table entries */
17     } XRASTER;
18    
19     extern int *map_rcolors();
20    
21     extern Pixmap make_rpixmap();