Changeset 1470:9b6f8c3587f0 in lemon-0.x for lemon/graph_to_eps.h
- Timestamp:
- 06/10/05 14:16:25 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1950
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_to_eps.h
r1435 r1470 776 776 if(_scaleToA4) 777 777 if(bb.height()>bb.width()) { 778 double sc= min((A4HEIGHT-2*A4BORDER)/bb.height(),778 double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.height(), 779 779 (A4WIDTH-2*A4BORDER)/bb.width()); 780 780 os << ((A4WIDTH -2*A4BORDER)-sc*bb.width())/2 + A4BORDER << ' ' … … 785 785 else { 786 786 //\todo Verify centering 787 double sc= min((A4HEIGHT-2*A4BORDER)/bb.width(),787 double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.width(), 788 788 (A4WIDTH-2*A4BORDER)/bb.height()); 789 789 os << ((A4WIDTH -2*A4BORDER)-sc*bb.height())/2 + A4BORDER << ' '
Note: See TracChangeset
for help on using the changeset viewer.