CWGraphInternal::Style Struct Reference

Internal: the structure used to store a style of a CWGraph. More...

Inheritance diagram for CWGraphInternal::Style:
MWAWGraphicStyle

Public Member Functions

 Style ()
 constructor More...
 
- Public Member Functions inherited from MWAWGraphicStyle
 MWAWGraphicStyle ()
 constructor More...
 
virtual ~MWAWGraphicStyle ()
 virtual destructor More...
 
bool hasLine () const
 returns true if the border is defined More...
 
void setSurfaceColor (MWAWColor const &col, float opacity=1)
 set the surface color More...
 
bool hasSurfaceColor () const
 returns true if the surface is defined More...
 
void setPattern (Pattern const &pat)
 set the pattern More...
 
bool hasPattern () const
 returns true if the pattern is defined More...
 
bool hasGradient (bool complex=false) const
 returns true if the gradient is defined More...
 
bool hasSurface () const
 returns true if the interior surface is defined More...
 
void setShadowColor (MWAWColor const &col, float opacity=1)
 set the shadow color More...
 
bool hasShadow () const
 returns true if the shadow is defined More...
 
void addTo (WPXPropertyList &pList, WPXPropertyListVector &gradient, bool only1d=false) const
 add to propList More...
 
int cmp (MWAWGraphicStyle const &a) const
 compare two styles More...
 

Public Attributes

int m_id
 the identificator More...
 
int m_wrapping
 the wrap type More...
 
int m_lineFlags
 the line flags More...
 
int m_surfacePatternType
 the surface pattern type More...
 
- Public Attributes inherited from MWAWGraphicStyle
float m_lineWidth
 the linewidth More...
 
std::vector< float > m_lineDashWidth
 the dash array: a sequence of (fullsize, emptysize) More...
 
LineCap m_lineCap
 the line cap More...
 
LineJoin m_lineJoin
 the line join More...
 
float m_lineOpacity
 the line opacity: 0=transparent More...
 
MWAWColor m_lineColor
 the line color More...
 
bool m_fillRuleEvenOdd
 true if the fill rule is evenod More...
 
MWAWColor m_surfaceColor
 the surface color More...
 
float m_surfaceOpacity
 true if the surface has some color More...
 
MWAWColor m_shadowColor
 the shadow color More...
 
float m_shadowOpacity
 true if the shadow has some color More...
 
Vec2f m_shadowOffset
 the shadow offset More...
 
Pattern m_pattern
 the pattern if it exists More...
 
GradientType m_gradientType
 the gradient type More...
 
std::vector< GradientStopm_gradientStopList
 the list of gradient limits More...
 
float m_gradientAngle
 the gradient angle More...
 
float m_gradientBorder
 the gradient border opacity More...
 
Vec2f m_gradientPercentCenter
 the gradient center More...
 
float m_gradientRadius
 the gradient radius More...
 
bool m_arrows [2]
 two bool to indicated if extremity has arrow or not More...
 
float m_rotate
 the rotation More...
 
bool m_flip [2]
 two bool to indicated we need to flip the shape or not More...
 
std::string m_extra
 extra data More...
 

Friends

std::ostream & operator<< (std::ostream &o, Style const &st)
 operator<< More...
 

Additional Inherited Members

- Public Types inherited from MWAWGraphicStyle
enum  LineCap { C_Butt, C_Square, C_Round }
 an enum used to define the basic line cap More...
 
enum  LineJoin { J_Miter, J_Round, J_Bevel }
 an enum used to define the basic line join More...
 
enum  GradientType {
  G_None, G_Axial, G_Linear, G_Radial,
  G_Rectangular, G_Square, G_Ellipsoid
}
 an enum used to define the gradient type More...
 

Detailed Description

Internal: the structure used to store a style of a CWGraph.

Constructor & Destructor Documentation

CWGraphInternal::Style::Style ( )
inline

constructor

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Style const &  st 
)
friend

operator<<

Member Data Documentation

int CWGraphInternal::Style::m_id

the identificator

Referenced by CWGraph::readGroupDef().

int CWGraphInternal::Style::m_lineFlags

the line flags

Referenced by CWGraph::readGroupDef(), and CWGraph::readShape().

int CWGraphInternal::Style::m_surfacePatternType

the surface pattern type

Referenced by CWGraph::readGroupDef().

int CWGraphInternal::Style::m_wrapping

the wrap type

Referenced by CWGraph::readGroupDef(), and CWGraph::sendGroupChild().


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

Generated on Tue Mar 10 2015 17:32:10 for libmwaw by doxygen 1.8.5