ClarisWksStyleManagerInternal::Gradient Struct Reference

Internal: the gradient of a ClarisWksStyleManager. 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...
 
MWAWBox2i m_box
 the center bdbox More...
 

Friends

std::ostream & operator<< (std::ostream &o, Gradient const &gr)
 operator<< More...
 

Detailed Description

Internal: the gradient of a ClarisWksStyleManager.

Constructor & Destructor Documentation

◆ Gradient()

ClarisWksStyleManagerInternal::Gradient::Gradient ( int  type = 0,
int  nColor = 0,
int  angle = 0,
float  decal = 0 
)
inline

construtor

Member Function Documentation

◆ ok()

bool ClarisWksStyleManagerInternal::Gradient::ok ( ) const
inline

check if the gradient is valid

◆ update()

bool ClarisWksStyleManagerInternal::Gradient::update ( MWAWGraphicStyle style) const

update the style

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
Gradient const &  gr 
)
friend

operator<<

Member Data Documentation

◆ m_angle

int ClarisWksStyleManagerInternal::Gradient::m_angle

◆ m_box

MWAWBox2i ClarisWksStyleManagerInternal::Gradient::m_box

◆ m_colors

MWAWColor ClarisWksStyleManagerInternal::Gradient::m_colors[4]

◆ m_decal

float ClarisWksStyleManagerInternal::Gradient::m_decal

◆ m_numColors

int ClarisWksStyleManagerInternal::Gradient::m_numColors

the number of color

Referenced by ClarisWksStyleManager::readGradientList().

◆ m_type

int ClarisWksStyleManagerInternal::Gradient::m_type

The documentation for this struct was generated from the following file:

Generated for libmwaw by doxygen 1.8.14