Public Member Functions | |
Gradient (int type=0, int nColor=0, int angle=0, float decal=0) | |
construtor | |
bool | ok () const |
check if the gradient is valid | |
bool | update (MWAWGraphicStyle &style) const |
update the style | |
Public Attributes | |
int | m_type |
the type | |
int | m_numColors |
the number of color | |
MWAWColor | m_colors [4] |
the color | |
int | m_angle |
the angle | |
float | m_decal |
the decal | |
MWAWBox2i | m_box |
the center bdbox | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Gradient const &gr) |
operator<< | |
|
inlineexplicit |
construtor
|
inline |
check if the gradient is valid
Referenced by ClarisDrawStyleManager::readGradientList(), and update().
bool ClarisDrawStyleManagerInternal::Gradient::update | ( | MWAWGraphicStyle & | style | ) | const |
update the style
|
friend |
operator<<
int ClarisDrawStyleManagerInternal::Gradient::m_angle |
the angle
Referenced by ClarisDrawStyleManager::readGradientList(), and update().
MWAWBox2i ClarisDrawStyleManagerInternal::Gradient::m_box |
the center bdbox
Referenced by ClarisDrawStyleManagerInternal::State::initGradients(), ClarisDrawStyleManager::readGradientList(), and update().
MWAWColor ClarisDrawStyleManagerInternal::Gradient::m_colors[4] |
the color
Referenced by Gradient(), ClarisDrawStyleManagerInternal::State::initGradients(), ClarisDrawStyleManager::readGradientList(), and update().
float ClarisDrawStyleManagerInternal::Gradient::m_decal |
the decal
Referenced by ClarisDrawStyleManager::readGradientList(), and update().
int ClarisDrawStyleManagerInternal::Gradient::m_numColors |
the number of color
Referenced by ok(), ClarisDrawStyleManager::readGradientList(), and update().
int ClarisDrawStyleManagerInternal::Gradient::m_type |
the type
Referenced by ok(), ClarisDrawStyleManager::readGradientList(), and update().