00001
00006 class SVGWriter
00007 {
00008 protected:
00009
00010 char* namefile;
00011 ofstream* svgf;
00012
00013 void SVGHeader(Image*);
00014 void SVGHeader(graph &,node_map<GLab> &);
00015 void CCIWrite(vector<Cc> &);
00016 void CCWrite(Cc &);
00017 void SVGNodes(graph &,node_map<GLab> &);
00018 void SVGNode(GLab &);
00019 void SVGEdges(graph &,node_map<GLab> &,edge_map<bool> &);
00020 void SVGEdge(GLab &,GLab &,bool);
00021 void SVGEnd();
00022 public:
00023
00024 SVGWriter(Image*,graph &,node_map<GLab> &,edge_map<bool> &,char*);
00025 SVGWriter(graph &,node_map<GLab> &,edge_map<bool> &,char*);
00026 SVGWriter(Image*,vector<Cc> &,char*);
00027 };
00028