1.1 --- a/lemon/graph_to_eps.h Fri Jun 10 12:11:50 2005 +0000
1.2 +++ b/lemon/graph_to_eps.h Fri Jun 10 12:16:25 2005 +0000
1.3 @@ -775,7 +775,7 @@
1.4 os << "\ngsave\n";
1.5 if(_scaleToA4)
1.6 if(bb.height()>bb.width()) {
1.7 - double sc= min((A4HEIGHT-2*A4BORDER)/bb.height(),
1.8 + double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.height(),
1.9 (A4WIDTH-2*A4BORDER)/bb.width());
1.10 os << ((A4WIDTH -2*A4BORDER)-sc*bb.width())/2 + A4BORDER << ' '
1.11 << ((A4HEIGHT-2*A4BORDER)-sc*bb.height())/2 + A4BORDER << " translate\n"
1.12 @@ -784,7 +784,7 @@
1.13 }
1.14 else {
1.15 //\todo Verify centering
1.16 - double sc= min((A4HEIGHT-2*A4BORDER)/bb.width(),
1.17 + double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.width(),
1.18 (A4WIDTH-2*A4BORDER)/bb.height());
1.19 os << ((A4WIDTH -2*A4BORDER)-sc*bb.height())/2 + A4BORDER << ' '
1.20 << ((A4HEIGHT-2*A4BORDER)-sc*bb.width())/2 + A4BORDER << " translate\n"