Postscript Exporting
The same group on the Doxygen site.
- group Postscript Exporting
General
EPSdrawer and graph exporter.This group contains general
EPSdrawing methods and special graph exporting tools.
Other classes of its headers
Class |
Description |
|---|---|
Default traits class of GraphToEps. |
|
Auxiliary class to implement the named parameters of graphToEps(). |
Functions and other members
-
template< class GR >
GraphToEps< DefaultGraphToEpsTraits< GR > > graphToEps( - GR & g,
- std::ostream & os = std::cout
Generates an EPS file from a graph.
This function also has a lot of
named parameters, they are declared as the members of class GraphToEps. The following example shows how to use these parameters.graphToEps( g , os ) .scale( 10 ) .coords( coords ) .nodeScale( 2 ) .nodeSizes( sizes ) .arcWidthScale( .4 ) .run();
For more detailed examples, see the graph_to_eps_demo.cc demo file.
See also
Warning
Don’t forget to put the run() to the end of the parameter list.
- Parameters:
g – Reference to the graph to be printed.
os – Reference to the output stream. By default, it is
std::cout.
-
template< class GR >
GraphToEps< DefaultGraphToEpsTraits< GR > > graphToEps( - GR & g,
- const char * file_name
Generates an EPS file from a graph.
This function does the same as ostream& os) but it writes its output into the file
file_nameinstead of a stream.
-
template< class GR >
GraphToEps< DefaultGraphToEpsTraits< GR > > graphToEps( - GR & g,
- const std::string & file_name
Generates an EPS file from a graph.
This function does the same as ostream& os) but it writes its output into the file
file_nameinstead of a stream.