14 |
|
FILE *pout = NULL; /* the primitive output stream */ |
15 |
|
|
16 |
|
|
17 |
< |
plseg(a0, xstart, ystart, xend, yend) /* plot line segment */ |
17 |
> |
void |
18 |
> |
plseg( /* plot line segment */ |
19 |
> |
int a0, |
20 |
> |
int xstart, |
21 |
> |
int ystart, |
22 |
> |
int xend, |
23 |
> |
int yend |
24 |
> |
) |
25 |
|
|
19 |
– |
int a0, xstart, ystart, xend, yend; |
20 |
– |
|
26 |
|
{ |
27 |
|
PRIMITIVE p; |
28 |
|
int reverse; |
51 |
|
p.args = NULL; |
52 |
|
|
53 |
|
writep(&p, pout); |
49 |
– |
|
54 |
|
} |
55 |
|
|
56 |
|
|
57 |
+ |
void |
58 |
+ |
pprim( /* print primitive */ |
59 |
+ |
int co, |
60 |
+ |
int a0, |
61 |
+ |
int xmin, |
62 |
+ |
int ymin, |
63 |
+ |
int xmax, |
64 |
+ |
int ymax, |
65 |
+ |
char *s |
66 |
+ |
) |
67 |
|
|
54 |
– |
|
55 |
– |
|
56 |
– |
|
57 |
– |
pprim(co, a0, xmin, ymin, xmax, ymax, s) /* print primitive */ |
58 |
– |
|
59 |
– |
int co, a0, xmin, ymin, xmax, ymax; |
60 |
– |
char *s; |
61 |
– |
|
68 |
|
{ |
69 |
|
PRIMITIVE p; |
70 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
< |
|
86 |
< |
pglob(co, a0, s) /* print global */ |
87 |
< |
|
88 |
< |
int co, a0; |
89 |
< |
char *s; |
90 |
< |
|
85 |
> |
void |
86 |
> |
pglob( /* print global */ |
87 |
> |
int co, |
88 |
> |
int a0, |
89 |
> |
char *s |
90 |
> |
) |
91 |
|
{ |
92 |
|
PRIMITIVE p; |
93 |
|
|