Internal the pattern ressource of a MsWksGraph. More...
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 | |
Internal the pattern ressource of a MsWksGraph.
| MsWksGraphInternal::Patterns::Patterns | ( | int | num, |
| uint16_t const * | data | ||
| ) | [inline] |
constructor ( 4 int by patterns )
| 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
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().