Changeset 1494:ae55ba000ebb in lemon-0.x for lemon/graph_to_eps.h
- Timestamp:
- 06/15/05 12:19:44 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1975
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_to_eps.h
r1470 r1494 331 331 typedef typename Graph::OutEdgeIt OutEdgeIt; 332 332 333 static const int INTERPOL_PREC =20;334 static const double A4HEIGHT = 841.8897637795276;335 static const double A4WIDTH = 595.275590551181;336 static const double A4BORDER = 15;333 static const int INTERPOL_PREC; 334 static const double A4HEIGHT; 335 static const double A4WIDTH; 336 static const double A4BORDER; 337 337 338 338 bool dontPrint; … … 706 706 os << "%%CreationDate: " << cbuf; 707 707 } 708 ///\todo: Chech whether the graph is empty.709 708 BoundingBox<double> bb; 709 ///\bug: Chech whether the graph is empty. 710 if(NodeIt(g)==INVALID) bb+=xy<double>(0,0); 710 711 for(NodeIt n(g);n!=INVALID;++n) { 711 712 double ns=_nodeSizes[n]*_nodeScale; … … 976 977 }; 977 978 979 template<class T> 980 const int GraphToEps<T>::INTERPOL_PREC = 20; 981 template<class T> 982 const double GraphToEps<T>::A4HEIGHT = 841.8897637795276; 983 template<class T> 984 const double GraphToEps<T>::A4WIDTH = 595.275590551181; 985 template<class T> 986 const double GraphToEps<T>::A4BORDER = 15; 987 978 988 979 989 ///Generates an EPS file from a graph
Note: See TracChangeset
for help on using the changeset viewer.