next up previous contents index
Next: Layout Buffers ( LayoutBuffer Up: Layout Interfaces Previous: Interface to CGraphWin (   Contents   Index


Interface to PostScript ( PSInterface )

Baseclasses


\begin{picture}(7,2.5)
\thicklines
\put(0,1.5){\framebox (5.5,1){\bf LayoutInt...
...2){\vector(0,-1){1}}\put(1,0){\framebox (6,1){\bf PSInterface}}
\end{picture}

Definition

An instance A of type PSInterface is the interface to the graphical attributes in a PostScriptTM file. When a layout algorithm is called with an instance of PSInterface as a parameter, then the drawing is saved to a file in PostScriptTM format. The file name can be specified in the constructor of PSInterface. The generated file can be used as Encapsulated PostScriptTM, too.

#include < AGD/PSInterface.h >

Creation

PSInterface A(const leda_graph& G, leda_string name="unnamed.ps")
    creates an instance A of type PSInterface initialized to an interface to file name.

Operations

PSInterface inherits the operations from its base class LayoutInterface (see Sect. Layout Interfaces)



© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13