| 2 |
|
/* |
| 3 |
|
* Structures for line segment output to dot matrix printers |
| 4 |
|
*/ |
| 5 |
+ |
#ifndef _RAD_SPAN_H_ |
| 6 |
+ |
#define _RAD_SPAN_H_ |
| 7 |
|
|
| 8 |
+ |
#ifdef __cplusplus |
| 9 |
+ |
extern "C" { |
| 10 |
+ |
#endif |
| 11 |
|
|
| 12 |
+ |
|
| 13 |
|
#define MAXSPAN 5120 /* maximum span size in bytes */ |
| 14 |
|
|
| 9 |
– |
|
| 10 |
– |
|
| 11 |
– |
|
| 15 |
|
struct span { /* line of printer output */ |
| 16 |
|
int xleft, xright, ybot, ytop; |
| 17 |
|
char cols[MAXSPAN]; |
| 29 |
|
extern struct span outspan; /* output span */ |
| 30 |
|
|
| 31 |
|
extern int spanmin, spanmax; /* current span dimensions */ |
| 32 |
+ |
|
| 33 |
+ |
#ifdef __cplusplus |
| 34 |
+ |
} |
| 35 |
+ |
#endif |
| 36 |
+ |
#endif /* _RAD_SPAN_H_ */ |
| 37 |
+ |
|