ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/span.h
Revision: 1.2
Committed: Mon Jul 14 22:24:00 2003 UTC (20 years, 9 months ago) by schorsch
Content type: text/plain
Branch: MAIN
CVS Tags: rad3R6P1, rad3R6
Changes since 1.1: +13 -4 lines
Log Message:
Instrumented headers against multiple inclusion and for use from C++.
Moved includes in headers out of "C" scope.

File Contents

# User Rev Content
1 schorsch 1.2 /* RCSid: $Id: span.h,v 1.1 2003/02/22 02:07:26 greg Exp $ */
2 greg 1.1 /*
3     * Structures for line segment output to dot matrix printers
4     */
5 schorsch 1.2 #ifndef _RAD_SPAN_H_
6     #define _RAD_SPAN_H_
7    
8     #ifdef __cplusplus
9     extern "C" {
10     #endif
11 greg 1.1
12    
13     #define MAXSPAN 5120 /* maximum span size in bytes */
14    
15     struct span { /* line of printer output */
16     int xleft, xright, ybot, ytop;
17     char cols[MAXSPAN];
18     char tcols[MAXSPAN];
19     };
20    
21    
22    
23    
24     extern int linwidt, linhite, /* line size */
25     nrows; /* # of rows */
26    
27     extern int minwidth; /* minimum line width */
28    
29     extern struct span outspan; /* output span */
30    
31     extern int spanmin, spanmax; /* current span dimensions */
32 schorsch 1.2
33     #ifdef __cplusplus
34     }
35     #endif
36     #endif /* _RAD_SPAN_H_ */
37