GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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
(!
no_trailer
) {
11
output
(
"%%%%BeginTrailer\n"
);
12
output
(
"END\n"
);
13
output
(
"%%%%EndTrailer\n"
);
14
}
15
16
fclose
(
outfp
);
17
}
psdriver.h
PS_Graph_close
void PS_Graph_close(void)
Definition:
psdriver/Graph_close.c:8
fclose
fclose(fd)
no_trailer
int no_trailer
Definition:
psdriver/Graph_set.c:28
output
void output(const char *fmt,...)
Definition:
psdriver/Graph_set.c:224
outfp
FILE * outfp
Definition:
psdriver/Graph_set.c:24
lib
psdriver
Graph_close.c
Generated on Sat Jan 2 2016 01:46:48 for GRASS Programmer's Manual by
1.8.5