lemon/graph_to_eps.h
changeset 165 b4c336c27a03
parent 143 c3b45bb643b0
child 184 716b220697a0
equal deleted inserted replaced
6:2a84af4b9c9f 7:5d8b4ab5317c
   414     ArcWidthsTraits(const T &t,const X &x) : T(t), _arcWidths(x) {}
   414     ArcWidthsTraits(const T &t,const X &x) : T(t), _arcWidths(x) {}
   415   };
   415   };
   416   ///Sets the map of the arc widths
   416   ///Sets the map of the arc widths
   417 
   417 
   418   ///Sets the map of the arc widths
   418   ///Sets the map of the arc widths
   419   ///\param x must be a arc map with \c double (or convertible) values. 
   419   ///\param x must be an arc map with \c double (or convertible) values. 
   420   template<class X> GraphToEps<ArcWidthsTraits<X> > arcWidths(const X &x)
   420   template<class X> GraphToEps<ArcWidthsTraits<X> > arcWidths(const X &x)
   421   {
   421   {
   422     dontPrint=true;
   422     dontPrint=true;
   423     return GraphToEps<ArcWidthsTraits<X> >(ArcWidthsTraits<X>(*this,x));
   423     return GraphToEps<ArcWidthsTraits<X> >(ArcWidthsTraits<X>(*this,x));
   424   }
   424   }
   462     ArcColorsTraits(const T &t,const X &x) : T(t), _arcColors(x) {}
   462     ArcColorsTraits(const T &t,const X &x) : T(t), _arcColors(x) {}
   463   };
   463   };
   464   ///Sets the map of the arc colors
   464   ///Sets the map of the arc colors
   465 
   465 
   466   ///Sets the map of the arc colors
   466   ///Sets the map of the arc colors
   467   ///\param x must be a arc map with \ref Color values. 
   467   ///\param x must be an arc map with \ref Color values. 
   468   ///
   468   ///
   469   ///\sa Palette
   469   ///\sa Palette
   470   template<class X> GraphToEps<ArcColorsTraits<X> >
   470   template<class X> GraphToEps<ArcColorsTraits<X> >
   471   arcColors(const X &x)
   471   arcColors(const X &x)
   472   {
   472   {