COIN-OR::LEMON - Graph Library

Changeset 1494:ae55ba000ebb in lemon-0.x for lemon/graph_to_eps.h


Ignore:
Timestamp:
06/15/05 12:19:44 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1975
Message:

gcc-4.0 compatibility changes
coloring.cc still generates warnings. Don't know why.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_to_eps.h

    r1470 r1494  
    331331  typedef typename Graph::OutEdgeIt OutEdgeIt;
    332332
    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;
    337337
    338338  bool dontPrint;
     
    706706      os << "%%CreationDate: " << cbuf;
    707707    }
    708     ///\todo: Chech whether the graph is empty.
    709708    BoundingBox<double> bb;
     709    ///\bug: Chech whether the graph is empty.
     710    if(NodeIt(g)==INVALID) bb+=xy<double>(0,0);
    710711    for(NodeIt n(g);n!=INVALID;++n) {
    711712      double ns=_nodeSizes[n]*_nodeScale;
     
    976977};
    977978
     979template<class T>
     980const int GraphToEps<T>::INTERPOL_PREC = 20;
     981template<class T>
     982const double GraphToEps<T>::A4HEIGHT = 841.8897637795276;
     983template<class T>
     984const double GraphToEps<T>::A4WIDTH  = 595.275590551181;
     985template<class T>
     986const double GraphToEps<T>::A4BORDER = 15;
     987
    978988
    979989///Generates an EPS file from a graph
Note: See TracChangeset for help on using the changeset viewer.