Use floating point pixels for modulate color to allow lightening

This commit is contained in:
Dan Paulat 2024-01-13 01:01:01 -06:00
parent 9c8d851cf3
commit 87d2f84bde
4 changed files with 60 additions and 24 deletions

View file

@ -151,6 +151,15 @@ public:
static void SetIconModulate(const std::shared_ptr<GeoIconDrawItem>& di,
boost::gil::rgba8_pixel_t modulate);
/**
* Sets the modulate color of a geo icon.
*
* @param [in] di Geo icon draw item
* @param [in] modulate Modulate color
*/
static void SetIconModulate(const std::shared_ptr<GeoIconDrawItem>& di,
boost::gil::rgba32f_pixel_t modulate);
/**
* Sets the hover text of a geo icon.
*