BinToLineStyle.cxx
Go to the documentation of this file.
1 
12 #include "BinToLineStyle.h"
13 
14 namespace hippodraw {
15 
17 BinToLineStyle ( const char * name )
18  : BinToColor ( name )
19 {
20 }
21 
23  : BinToColor ( bin_to_color )
24 {
25 }
26 
28 {
29  return new BinToLineStyle ( *this );
30 }
31 
32 void
34 doubleToColor ( double, Color & color ) const
35 {
36  int red=color.getRed();
37  int green=color.getGreen();
38  int blue=color.getBlue();
39 
40  color.setColor ( red, green, blue );
41 }
42 
43 bool
46 {
47  return true;
48 }
49 
50 } // namespace hippodraw
51 

Generated for HippoDraw Class Library by doxygen