exportToXFig Class Reference
[Building canvasses]

This class implements a builder for xfig canvas files of graph objects. More...

#include <exportToXFig.h>

Inheritance diagram for exportToXFig:

canvasBuilder managedObject goblinRootObject

Public Member Functions

 exportToXFig (const abstractMixedGraph &GG, const char *expFileName) throw (ERFile)
 ~exportToXFig () throw ()
unsigned long Size () const throw ()
unsigned long Allocated () const throw ()
void DisplayLegenda (long xm, long ym, long radius) throw ()
void WriteNodeLegenda (int x, int y, char *index) throw ()
void WritePolyLine (vector< double > &cx, vector< double > &cy, TLineStyle lineStyle, int width, TArrowDir displayedArrows, TIndex colourIndex, int depth) throw ()
void WriteArrow (TArc a, long xtop, long ytop, double dx, double dy) throw ()
void WriteArcLabel (TArc a, long xm, long ym) throw ()
void DisplayNode (TNode v) throw ()
void WriteSmallNode (TNode v, int x, int y, int fillColour) throw ()
void WriteCircularNode (TNode v, int x, int y, int fillColour) throw ()
void WriteRectangularNode (TNode v, int x, int y, int fillColour) throw ()
void WriteRegularNode (TNode v, int x, int y, int fillColour) throw ()
void WriteNodeLabel (TNode v, int x, int y) throw ()

Detailed Description

This class implements a builder for xfig canvas files of graph objects.


Constructor & Destructor Documentation

exportToXFig const abstractMixedGraph GG,
const char *  expFileName
throw (ERFile)
 

~exportToXFig  )  throw ()
 


Member Function Documentation

unsigned long Allocated  )  const throw ()
 

Reimplemented from canvasBuilder.

void DisplayLegenda long  xm,
long  ym,
long  radius
throw () [virtual]
 

Implements canvasBuilder.

void DisplayNode TNode  v  )  throw () [virtual]
 

Implements canvasBuilder.

unsigned long Size  )  const throw () [virtual]
 

Implements goblinRootObject.

void WriteArcLabel TArc  a,
long  xm,
long  ym
throw () [virtual]
 

Implements canvasBuilder.

void WriteArrow TArc  a,
long  xtop,
long  ytop,
double  dx,
double  dy
throw () [virtual]
 

Implements canvasBuilder.

void WriteCircularNode TNode  v,
int  x,
int  y,
int  fillColour
throw ()
 

void WriteNodeLabel TNode  v,
int  x,
int  y
throw ()
 

void WriteNodeLegenda int  x,
int  y,
char *  index
throw ()
 

void WritePolyLine vector< double > &  cx,
vector< double > &  cy,
TLineStyle  lineStyle,
int  width,
TArrowDir  displayedArrows,
TIndex  colourIndex,
int  depth
throw ()
 

void WriteRectangularNode TNode  v,
int  x,
int  y,
int  fillColour
throw ()
 

void WriteRegularNode TNode  v,
int  x,
int  y,
int  fillColour
throw ()
 

void WriteSmallNode TNode  v,
int  x,
int  y,
int  fillColour
throw ()