GRASS GIS 7 Programmer's Manual
7.8.4(2020)-exported
psdriver/graph_close.c
Go to the documentation of this file.
1
/*
2
* Close down the graphics processing. This gets called only at driver
3
* termination time.
4
*/
5
6
#include "
psdriver.h
"
7
8
void
PS_Graph_close
(
void
)
9
{
10
if
(!
ps
.
no_trailer
) {
11
output
(
"%%%%BeginTrailer\n"
);
12
output
(
"END\n"
);
13
output
(
"%%%%EndTrailer\n"
);
14
}
15
16
fclose(
ps
.
outfp
);
17
}
ps_state::outfp
FILE * outfp
Definition:
psdriver.h:13
output
void output(const char *fmt,...)
Definition:
psdriver/graph_set.c:233
ps
struct ps_state ps
Definition:
psdriver/graph_set.c:25
psdriver.h
PS_Graph_close
void PS_Graph_close(void)
Definition:
psdriver/graph_close.c:8
ps_state::no_trailer
int no_trailer
Definition:
psdriver.h:16
psdriver
graph_close.c
Generated on Sun Dec 13 2020 08:41:19 for GRASS GIS 7 Programmer's Manual by
1.8.20