ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/xraster.h
Revision: 3.2
Committed: Tue Feb 25 02:47:22 2003 UTC (21 years, 2 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad3R5
Changes since 3.1: +2 -57 lines
Log Message:
Replaced inline copyright notice with #include "copyright.h"

File Contents

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