- Doc improvements, spell checks
authoralpar
Wed, 20 Jul 2005 08:33:33 +0000
changeset 1574697ed4dd309a
parent 1573 b76a0af36f44
child 1575 438bc5defad1
- Doc improvements, spell checks
- Obsolete \todo's removed
lemon/graph_to_eps.h
     1.1 --- a/lemon/graph_to_eps.h	Wed Jul 20 08:06:32 2005 +0000
     1.2 +++ b/lemon/graph_to_eps.h	Wed Jul 20 08:33:33 2005 +0000
     1.3 @@ -55,8 +55,9 @@
     1.4    ///Constructor
     1.5    Color(double r,double g,double b) :_r(r),_g(g),_b(b) {};
     1.6    ///Returns the red component
     1.7 -
     1.8 + 
     1.9    ///\todo \c red() could be a better name...
    1.10 +  ///
    1.11    double getR() const {return _r;}
    1.12    ///Returns the green component
    1.13    double getG() const {return _g;}
    1.14 @@ -82,13 +83,14 @@
    1.15    ///Constructor
    1.16  
    1.17    ///Constructor
    1.18 -  ///\param have_white indicates wheter white is
    1.19 +  ///\param have_white indicates whether white is
    1.20    ///amongst the provided color (\c true) or not (\c false). If it is true,
    1.21    ///white will be assigned to \c 0.
    1.22    ///\param num the number of the allocated colors. If it is \c 0
    1.23    ///the default color configuration is set up (26 color plus the while).
    1.24    ///If \c num is less then 26/27 then the default color list is cut. Otherwise
    1.25    ///the color list is filled repeatedly with the default color list.
    1.26 +  ///(The colors can be changed later on.)
    1.27    ColorSet(bool have_white=false,int num=0)
    1.28    {
    1.29      do {
    1.30 @@ -144,7 +146,7 @@
    1.31    }
    1.32    ///Sets the number of the exiting colors.
    1.33    void resize(int s) { colors.resize(s);}
    1.34 -  ///Returns the munber of the existing colors.
    1.35 +  ///Returns the number of the existing colors.
    1.36    std::size_t size() const { return colors.size();}
    1.37  };
    1.38  
    1.39 @@ -159,7 +161,6 @@
    1.40  ///Returns black for light colors and white for the dark ones.
    1.41  
    1.42  ///Returns black for light colors and white for the dark ones.
    1.43 -///\todo weighted average would be better
    1.44  inline Color distantBW(const Color &c){
    1.45    double v=(.2125*c.getR()+.7154*c.getG()+.0721*c.getB())<.5?1:0;
    1.46    return Color(v,v,v);
    1.47 @@ -597,7 +598,6 @@
    1.48    ///Enables parallel edges
    1.49  
    1.50    ///Enables parallel edges
    1.51 -  ///\todo Partially implemented
    1.52    GraphToEps<T> &enableParallel(bool b=true) {_enableParallel=b;return *this;}
    1.53    
    1.54    ///Sets the distance