The date type ps_file is a graphical input/output interface for the familiar LEDA drawing operations of two-dimensional geometry. Unlike the data type window, the output produced by a ps_file object is permanent, i.e., it is not lost after exiting the C++-program as it is saved in an output file.
An instance of type ps_file is (as far as the user takes notice of it) an ordinary ASCII file that contains the source code of the graphics output in the PostScript description language. After running the C++-program, the file is created in the user's current working directory and can later be handled like any other PostScript file, i.e., it may be viewed, printed etc.
Of course, features like a panel section (as in window type instances) don't make sense for a representation that is not supposed to be displayed on the screen and interactively worked with by the user. Therefore, only drawing operations are applicable to a ps_file instance.
ps_file was implemented by
#include < LEDA/graphics/ps_file.h >