Show
Ignore:
Timestamp:
01/14/09 07:10:24 (19 months ago)
Author:
artem
Message:

+ (c++) renamed mapnik::Color to mapnik::color
+ (c++) added mapnik::color ctor from named colours (TODO: consider not to export color_factory)
+ (Python) fixed pickling
+ (Python) added to_hex_string method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/cairo_renderer.cpp

    r752 r796  
    205205         } 
    206206 
    207          void set_color(Color const &color, double opacity = 1.0) 
     207         void set_color(color const &color, double opacity = 1.0) 
    208208         { 
    209209            set_color(color.red(), color.green(), color.blue(), opacity); 
     
    500500#endif 
    501501 
    502       boost::optional<Color> bg = m_.background(); 
     502      boost::optional<color> bg = m_.background(); 
    503503      if (bg) 
    504504      { 
     
    583583      cairo_context context(context_); 
    584584 
    585       Color const& fill = sym.get_fill(); 
     585      color const& fill = sym.get_fill(); 
    586586      double height = 0.7071 * sym.height(); // height in meters 
    587587