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