lemon/color.h
changeset 2208 37b5c870a953
parent 2174 f9e43b5cc617
child 2230 67af33b34394
equal deleted inserted replaced
4:26b5dbd4c1b0 5:d18f3c3ef49f
    17  */
    17  */
    18 
    18 
    19 #ifndef LEMON_COLOR_H
    19 #ifndef LEMON_COLOR_H
    20 #define LEMON_COLOR_H
    20 #define LEMON_COLOR_H
    21 
    21 
    22 #include <sys/time.h>
       
    23 
       
    24 #include<iostream>
       
    25 #include<fstream>
       
    26 #include<sstream>
       
    27 #include<algorithm>
       
    28 #include<vector>
    22 #include<vector>
    29 
    23 #include<cmath>
    30 #include <ctime>
       
    31 #include <cmath>
       
    32 
       
    33 #include<lemon/bits/invalid.h>
       
    34 #include<lemon/xy.h>
       
    35 #include<lemon/maps.h>
    24 #include<lemon/maps.h>
    36 #include<lemon/bezier.h>
       
    37 
    25 
    38 
    26 
    39 ///\ingroup misc
    27 ///\ingroup misc
    40 ///\file
    28 ///\file
    41 ///\brief Tools to manage RGB colors.
    29 ///\brief Tools to manage RGB colors.
   104   /// Dark magenta color constant
    92   /// Dark magenta color constant
   105   extern const Color DARK_MAGENTA;
    93   extern const Color DARK_MAGENTA;
   106   /// Dark cyan color constant
    94   /// Dark cyan color constant
   107   extern const Color DARK_CYAN;
    95   extern const Color DARK_CYAN;
   108 
    96 
   109 ///Maps <tt>int</tt>s to different \ref Color "Color"s
    97 ///Map <tt>int</tt>s to different \ref Color "Color"s
   110 
    98 
   111 ///This map assigns one of the predefined \ref Color "Color"s
    99 ///This map assigns one of the predefined \ref Color "Color"s
   112 ///to each <tt>int</tt>. It is possible to change the colors as well as their
   100 ///to each <tt>int</tt>. It is possible to change the colors as well as their
   113 ///number. The integer range is cyclically mapped to the provided set of colors.
   101 ///number. The integer range is cyclically mapped to the provided set of colors.
   114 ///
   102 ///