1 |
/* RCSid: $Id$ */ |
2 |
/* |
3 |
* Structures for line segment output to dot matrix printers |
4 |
*/ |
5 |
|
6 |
|
7 |
#define MAXSPAN 5120 /* maximum span size in bytes */ |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
struct span { /* line of printer output */ |
13 |
int xleft, xright, ybot, ytop; |
14 |
char cols[MAXSPAN]; |
15 |
char tcols[MAXSPAN]; |
16 |
}; |
17 |
|
18 |
|
19 |
|
20 |
|
21 |
extern int linwidt, linhite, /* line size */ |
22 |
nrows; /* # of rows */ |
23 |
|
24 |
extern int minwidth; /* minimum line width */ |
25 |
|
26 |
extern struct span outspan; /* output span */ |
27 |
|
28 |
extern int spanmin, spanmax; /* current span dimensions */ |