19 #ifndef OST_GFX_GRADIENT_HH
20 #define OST_GFX_GRADIENT_HH
33 namespace ost {
namespace gfx {
78 return t==ref.
t && color==ref.
color;
96 Color GetColorAt(
float t)
const;
101 void SetColorAt(
float t,
const Color& color);
122 std::vector<Stop> stops_;
std::vector< Stop > StopList
#define DLLEXPORT_OST_GFX
bool operator==(const Stop &ref) const
bool GetHSVMode() const
return the HSV interpolation mode flag
void SetHSVMode(bool m)
turn HSV interpolation mode on or off
Stop(float tt, const Color &c)