MSKGraphInternal::Patterns Struct Reference

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

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

Internal the pattern ressource of a MSKGraph.


Constructor & Destructor Documentation

MSKGraphInternal::Patterns::Patterns ( int  num,
uint16_t const *  data 
) [inline]

constructor ( 4 int by patterns )


Member Function Documentation

bool MSKGraphInternal::Patterns::get ( int  id,
MWAWGraphicStyle::Pattern pat 
) const [inline]

return the pattern corresponding to an id

float MSKGraphInternal::Patterns::getPercent ( int  id) const [inline]

return the percentage corresponding to a pattern


Member Data Documentation

the number of patterns

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

the pattern percent values

Referenced by getPercent(), and Patterns().

std::vector<unsigned char> MSKGraphInternal::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: