COIN-OR::LEMON - Graph Library

Changeset 1470:9b6f8c3587f0 in lemon-0.x for lemon/graph_to_eps.h


Ignore:
Timestamp:
06/10/05 14:16:25 (15 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1950
Message:

Minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_to_eps.h

    r1435 r1470  
    776776    if(_scaleToA4)
    777777      if(bb.height()>bb.width()) {
    778         double sc= min((A4HEIGHT-2*A4BORDER)/bb.height(),
     778        double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.height(),
    779779                  (A4WIDTH-2*A4BORDER)/bb.width());
    780780        os << ((A4WIDTH -2*A4BORDER)-sc*bb.width())/2 + A4BORDER << ' '
     
    785785      else {
    786786        //\todo Verify centering
    787         double sc= min((A4HEIGHT-2*A4BORDER)/bb.width(),
     787        double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.width(),
    788788                  (A4WIDTH-2*A4BORDER)/bb.height());
    789789        os << ((A4WIDTH -2*A4BORDER)-sc*bb.height())/2 + A4BORDER << ' '
Note: See TracChangeset for help on using the changeset viewer.