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