ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/xraster.h
Revision: 3.5
Committed: Fri Nov 5 03:31:38 2004 UTC (19 years, 6 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 3.4: +1 -1 lines
State: FILE REMOVED
Log Message:
Removed unused programs and files from distribution (sources to CVS attic)

File Contents

# Content
1 /* RCSid $Id: xraster.h,v 3.4 2003/07/14 22:24:00 schorsch Exp $ */
2 /*
3 * xraster.h - header file for X routines using images.
4 */
5 #ifndef _RAD_XRASTER_H_
6 #define _RAD_XRASTER_H_
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 typedef struct {
13 int width, height; /* image size */
14 int ncolors; /* number of colors */
15 union {
16 unsigned short *m; /* monochrome */
17 unsigned char *bz; /* color */
18 } data; /* storage on our side */
19 Pixmap pm; /* storage on server side */
20 Color *cdefs; /* color definitions */
21 int *pmap; /* inverse pixel mapping */
22 int *pixels; /* allocated table entries */
23 } XRASTER;
24
25 extern int *map_rcolors();
26
27 extern Pixmap make_rpixmap();
28
29 #ifdef __cplusplus
30 }
31 #endif
32 #endif /* _RAD_XRASTER_H_ */
33