lemon/color.h
branchlemon-1.0
changeset 2656 eb1c5d1333d1
parent 2655 3aa8ee4853dc
equal deleted inserted replaced
12:d4ac1f1c36d9 13:1f6bc6bf6053
    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 ///