21 #ifndef GF_COLOR_RAMP_H
22 #define GF_COLOR_RAMP_H
30 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76 std::map<
float, Color4f> m_map;
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
A color ramp.
Definition: ColorRamp.h:41
bool isEmpty() const
Check if the color ramp is empty.
Color4f computeColor(float offset) const
Compute a color from an offset.
void addColorStop(float offset, const Color4f &color)
Add a color stop.
#define GF_API
Definition: Portability.h:35
ColorRamp()
Default constructor.