Permalink
Browse files

crundel: Add setter for rastercolorizer stops

  • Loading branch information...
rcoup committed Oct 20, 2011
1 parent 03d809b commit a321ec7843310843012f8330a00c9a32d320e35d
Showing with 4 additions and 0 deletions.
  1. +4 −0 include/mapnik/raster_colorizer.hpp
@@ -178,6 +178,10 @@ class MAPNIK_DECL raster_colorizer {
//! \return True if added, false if error
bool add_stop(const colorizer_stop & stop);
+ //! \brief Set the list of stops
+ //! \param[in] stops The list of stops
+ void set_stops(colorizer_stops const& stops) { stops_ = stops; };
+
//! \brief Get the list of stops
//! \return The list of stops
const colorizer_stops& get_stops(void) const {return stops_; };

0 comments on commit a321ec7

Please sign in to comment.