Changeset 1573:b76a0af36f44 in lemon-0.x for lemon/graph_to_eps.h
- Timestamp:
- 07/20/05 10:06:32 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2072
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_to_eps.h
r1539 r1573 69 69 ///Maps <tt>int</tt>s to different \ref Color "Color"s 70 70 71 ///This map assi ngone of the predefined \ref Color "Color"s71 ///This map assigns one of the predefined \ref Color "Color"s 72 72 ///to each <tt>int</tt>. It is possible to change the colors as well as their 73 73 ///number. The integer range is cyclically mapped to the provided set of colors. … … 146 146 void resize(int s) { colors.resize(s);} 147 147 ///Returns the munber of the existing colors. 148 std::size_t size() { return colors.size();}148 std::size_t size() const { return colors.size();} 149 149 }; 150 150 … … 467 467 ///the PostScript block inserted. 468 468 /// 469 ///Before and after the block a newline character is inserted to you469 ///Before and after the block a newline character is inserted so you 470 470 ///don't have to bother with the separators. 471 471 /// … … 503 503 504 504 ///Sets the map of the node colors 505 ///\param x must be a node map with \ref Color values. 505 ///\param x must be a node map with \ref Color values. 506 /// 507 ///\sa ColorSet 506 508 template<class X> GraphToEps<NodeColorsTraits<X> > 507 509 nodeColors(const X &x) … … 518 520 ///Sets the map of the node text colors 519 521 ///\param x must be a node map with \ref Color values. 522 /// 523 ///\sa ColorSet 520 524 template<class X> GraphToEps<NodeTextColorsTraits<X> > 521 525 nodeTextColors(const X &x) … … 534 538 ///Sets the map of the edge colors 535 539 ///\param x must be a edge map with \ref Color values. 540 /// 541 ///\sa ColorSet 536 542 template<class X> GraphToEps<EdgeColorsTraits<X> > 537 543 edgeColors(const X &x) … … 622 628 ///Sets the color of the node texts to be as different from the node color 623 629 ///as it is possible 624 630 /// 625 631 GraphToEps<T> &distantColorNodeTexts() 626 632 {_nodeTextColorType=DIST_COL;return *this;} … … 1009 1015 ///to the end of the parameter list. 1010 1016 ///\sa GraphToEps 1011 ///\sa graphToEps(G &g, c har *file_name)1017 ///\sa graphToEps(G &g, const char *file_name) 1012 1018 template<class G> 1013 1019 GraphToEps<DefaultGraphToEpsTraits<G> > … … 1020 1026 ///Generates an EPS file from a graph 1021 1027 1022 ///\ingroup misc1028 ///\ingroup io_group 1023 1029 ///This function does the same as 1024 1030 ///\ref graphToEps(G &g,std::ostream& os)
Note: See TracChangeset
for help on using the changeset viewer.