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 | |
int | cmp (GradientStop const &a) const |
compare two gradient |
Public Attributes | |
float | m_offset |
the offset | |
WPSColor | 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
|
inlineexplicit |
constructor
Referenced by cmp(), and operator<<.
|
inline |
compare two gradient
|
friend |
a print operator
WPSColor WPSGraphicStyle::GradientStop::m_color |
the color
Referenced by cmp(), GradientStop(), and operator<<.
float WPSGraphicStyle::GradientStop::m_offset |
the offset
Referenced by cmp(), GradientStop(), and operator<<.
float WPSGraphicStyle::GradientStop::m_opacity |
the opacity
Referenced by cmp(), GradientStop(), and operator<<.