MsWksGraphInternal::Patterns Struct Reference

Internal the pattern ressource of a MsWksGraph. More...

Public Member Functions

 Patterns (int num, uint16_t const *data)
 constructor ( 4 int by patterns ) More...
 
bool get (int id, MWAWGraphicStyle::Pattern &pat) const
 return the pattern corresponding to an id More...
 
float getPercent (int id) const
 return the percentage corresponding to a pattern More...
 

Public Attributes

int m_num
 the number of patterns More...
 
std::vector< unsigned char > m_valuesList
 the pattern values (8 data by pattern) More...
 
std::vector< float > m_percentList
 the pattern percent values More...
 

Detailed Description

Internal the pattern ressource of a MsWksGraph.

Constructor & Destructor Documentation

MsWksGraphInternal::Patterns::Patterns ( int  num,
uint16_t const *  data 
)
inline

constructor ( 4 int by patterns )

Member Function Documentation

bool MsWksGraphInternal::Patterns::get ( int  id,
MWAWGraphicStyle::Pattern pat 
) const
inline

return the pattern corresponding to an id

float MsWksGraphInternal::Patterns::getPercent ( int  id) const
inline

return the percentage corresponding to a pattern

Member Data Documentation

int MsWksGraphInternal::Patterns::m_num

the number of patterns

Referenced by get(), getPercent(), and Patterns().

std::vector<float> MsWksGraphInternal::Patterns::m_percentList

the pattern percent values

Referenced by getPercent(), and Patterns().

std::vector<unsigned char> MsWksGraphInternal::Patterns::m_valuesList

the pattern values (8 data by pattern)

Referenced by get(), and Patterns().


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

Generated on Thu Jul 9 2015 20:26:41 for libmwaw by doxygen 1.8.8