Internal: the gradient of a CWStyleManager. More...
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 | |
Box2i | m_box |
the center bdbox | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Gradient const &gr) |
operator<< |
Internal: the gradient of a CWStyleManager.
CWStyleManagerInternal::Gradient::Gradient | ( | int | type = 0 , |
int | nColor = 0 , |
||
int | angle = 0 , |
||
float | decal = 0 |
||
) | [inline] |
construtor
bool CWStyleManagerInternal::Gradient::ok | ( | ) | const [inline] |
check if the gradient is valid
Referenced by update().
bool CWStyleManagerInternal::Gradient::update | ( | MWAWGraphicStyle & | style | ) | const |
update the style
std::ostream& operator<< | ( | std::ostream & | o, |
Gradient const & | gr | ||
) | [friend] |
operator<<
the angle
Referenced by CWStyleManager::readGradientList(), and update().
the center bdbox
Referenced by CWStyleManager::readGradientList(), CWStyleManagerInternal::State::setDefaultGradientList(), and update().
the color
Referenced by Gradient(), CWStyleManager::readGradientList(), CWStyleManagerInternal::State::setDefaultGradientList(), and update().
the decal
Referenced by CWStyleManager::readGradientList(), and update().
the number of color
Referenced by ok(), CWStyleManager::readGradientList(), and update().
the type
Referenced by ok(), CWStyleManager::readGradientList(), and update().