| ... | ... |
@@ -50,4 +50,5 @@ |
| 50 | 50 |
namespace lemon {
|
| 51 | 51 |
|
| 52 |
namespace _graph_to_eps_bits {
|
|
| 52 | 53 |
template<class MT> |
| 53 | 54 |
class _NegY {
|
| ... | ... |
@@ -60,4 +61,5 @@ |
| 60 | 61 |
Value operator[](Key n) { return Value(map[n].x,map[n].y*yscale);}
|
| 61 | 62 |
}; |
| 63 |
} |
|
| 62 | 64 |
|
| 63 | 65 |
///Default traits class of \ref GraphToEps |
| ... | ... |
@@ -159,5 +161,5 @@ |
| 159 | 161 |
_showNodeText(false), _nodeTexts(false), _nodeTextSize(1), |
| 160 | 162 |
_showNodePsText(false), _nodePsTexts(false), _nodePsTextsPreamble(0), |
| 161 |
_undirected( |
|
| 163 |
_undirected(lemon::UndirectedTagIndicator<G>::value), |
|
| 162 | 164 |
_pleaseRemoveOsStream(_pros), _scaleToA4(false), |
| 163 | 165 |
_nodeTextColorType(SAME_COL), _nodeTextColors(BLACK), |
| ... | ... |
@@ -669,5 +671,5 @@ |
| 669 | 671 |
///Sets whether the the graph is directed. |
| 670 | 672 |
///Use it to show the edges as a pair of directed ones. |
| 671 |
GraphToEps<T> & |
|
| 673 |
GraphToEps<T> &directed(bool b=true) {_undirected=!b;return *this;}
|
|
| 672 | 674 |
|
| 673 | 675 |
///Sets the title. |
| ... | ... |
@@ -715,5 +717,6 @@ |
| 715 | 717 |
if(dontPrint) return; |
| 716 | 718 |
|
| 717 |
_NegY<typename T::CoordsMapType> |
|
| 719 |
_graph_to_eps_bits::_NegY<typename T::CoordsMapType> |
|
| 720 |
mycoords(_coords,_negY); |
|
| 718 | 721 |
|
| 719 | 722 |
os << "%!PS-Adobe-2.0 EPSF-2.0\n"; |
0 comments (0 inline)