EPSImage Class Reference

#include <EPSImage.hpp>

Inheritance diagram for EPSImage:

Inheritance graph
[legend]
Collaboration diagram for EPSImage:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class generate a vector image in the Encapsulated Postscript (EPS) file format version 3.0.

This is by definition a window on a single page. EPS is a form of postscript that can be imported by most software programs, from Word to LATEX. The file format is defined by Adobe. The format definition, dated 1 May 1992, is freely available from that company.

Examples:

example11.cpp, and example13.cpp.

Definition at line 46 of file EPSImage.hpp.

Public Member Functions

 EPSImage (std::ostream &stream, double llx, double lly, double urx, double ury, ORIGIN_LOCATION iloc=LOWER_LEFT)
 Create a EPS output stream attached to an existing stream.
 EPSImage (const char *fname, double llx, double lly, double urx, double ury, ORIGIN_LOCATION iloc=LOWER_LEFT)
 Create a EPS output stream attached to an existing stream.
 ~EPSImage (void)
 Destructor.
void view (void) throw (VDrawException)
 Launch a viewer.

Public Attributes

ViewerManager viewerManager
 This member manages how viewer(s) are launched.


Constructor & Destructor Documentation

EPSImage std::ostream &  stream,
double  llx,
double  lly,
double  urx,
double  ury,
ORIGIN_LOCATION  iloc = LOWER_LEFT
 

Create a EPS output stream attached to an existing stream.

Parameters:
stream Stream to insert EPS graphic elements
llx Lower left x coordinate of the EPS canvas in points
lly Lower left y coordinate of the EPS canvas in points
urx Upper right x coordinate of the EPS canvas in points
ury Upper right y coordinate of the EPS canvas in points
iloc Location of the origin the drawer will use.

EPSImage const char *  fname,
double  llx,
double  lly,
double  urx,
double  ury,
ORIGIN_LOCATION  iloc = LOWER_LEFT
 

Create a EPS output stream attached to an existing stream.

Parameters:
fname Name of the output file to be created
llx Lower left x coordinate of the EPS canvas in points
lly Lower left y coordinate of the EPS canvas in points
urx Upper right x coordinate of the EPS canvas in points
ury Upper right y coordinate of the EPS canvas in points
iloc Location of the origin the drawer will use.

~EPSImage void   ) 
 

Destructor.


Member Function Documentation

void view void   )  throw (VDrawException)
 

Launch a viewer.

Definition at line 84 of file EPSImage.cpp.

References ViewerManager::registerViewer(), ViewerManager::view(), and viewerManager.


Member Data Documentation

ViewerManager viewerManager
 

This member manages how viewer(s) are launched.

Definition at line 84 of file EPSImage.hpp.

Referenced by view().


The documentation for this class was generated from the following files:
Generated on Tue Feb 7 03:31:24 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1