a structure used to define the gradient limit More...
#include <MWAWGraphicStyle.hxx>
Public Member Functions | |
GradientStop (float offset=0.0, MWAWColor const &col=MWAWColor::black(), float opacity=1.0) | |
constructor | |
int | cmp (GradientStop const &a) const |
compare two gradient | |
Public Attributes | |
float | m_offset |
the offset | |
MWAWColor | m_color |
the color | |
float | m_opacity |
the opacity | |
Friends | |
std::ostream & | operator<< (std::ostream &o, GradientStop const &st) |
a print operator |
a structure used to define the gradient limit
MWAWGraphicStyle::GradientStop::GradientStop | ( | float | offset = 0.0 , |
MWAWColor const & | col = MWAWColor::black() , |
||
float | opacity = 1.0 |
||
) | [inline] |
constructor
int MWAWGraphicStyle::GradientStop::cmp | ( | GradientStop const & | a | ) | const [inline] |
compare two gradient
std::ostream& operator<< | ( | std::ostream & | o, |
GradientStop const & | st | ||
) | [friend] |
a print operator
the color
Referenced by cmp().
the offset
Referenced by cmp().
the opacity
Referenced by cmp().