From 82ba2e255305706bffd9424a8c93b0e57124b91c Mon Sep 17 00:00:00 2001 From: Robert Coup Date: Wed, 19 Oct 2011 23:59:26 -0700 Subject: [PATCH] crundel: Add setter for rastercolorizer stops --- include/mapnik/raster_colorizer.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/mapnik/raster_colorizer.hpp b/include/mapnik/raster_colorizer.hpp index e0e0796ca..45cb69f21 100644 --- a/include/mapnik/raster_colorizer.hpp +++ b/include/mapnik/raster_colorizer.hpp @@ -178,6 +178,10 @@ public: //! \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_; };