Internal: the state of a HanMacWrdKGraph. More...
Public Member Functions | |
| State () | |
| constructor | |
| bool | getColor (int id, MWAWColor &col) |
| returns a color correspond to an id | |
| bool | getPattern (int id, Pattern &pattern) |
| returns a pattern correspond to an id | |
| void | initColors () |
| init the color list | |
| void | initPatterns () |
| init the pattenr list | |
Static Public Member Functions | |
| static MWAWColor | getColor (MWAWColor col, float pattern) |
| returns a color corresponding to a pattern and a color | |
Public Attributes | |
| int | m_numPages |
| std::multimap< long, shared_ptr< Frame > > | m_framesMap |
| a map fileId -> frame | |
| std::map< long, shared_ptr < Picture > > | m_picturesMap |
| a map fileId -> picture | |
| std::vector< MWAWColor > | m_colorList |
| a list colorId -> color | |
| std::vector< Pattern > | m_patternList |
| the patterns list | |
Internal: the state of a HanMacWrdKGraph.
| HanMacWrdKGraphInternal::State::State | ( | ) | [inline] |
constructor
| bool HanMacWrdKGraphInternal::State::getColor | ( | int | id, |
| MWAWColor & | col | ||
| ) | [inline] |
returns a color correspond to an id
| static MWAWColor HanMacWrdKGraphInternal::State::getColor | ( | MWAWColor | col, |
| float | pattern | ||
| ) | [inline, static] |
returns a color corresponding to a pattern and a color
| bool HanMacWrdKGraphInternal::State::getPattern | ( | int | id, |
| Pattern & | pattern | ||
| ) | [inline] |
returns a pattern correspond to an id
init the color list
Referenced by getColor().
init the pattenr list
Referenced by getPattern().
| std::vector<MWAWColor> HanMacWrdKGraphInternal::State::m_colorList |
a list colorId -> color
Referenced by getColor(), and initColors().
| std::multimap<long, shared_ptr<Frame> > HanMacWrdKGraphInternal::State::m_framesMap |
a map fileId -> frame
| std::vector<Pattern> HanMacWrdKGraphInternal::State::m_patternList |
the patterns list
Referenced by getPattern(), and initPatterns().
| std::map<long, shared_ptr<Picture> > HanMacWrdKGraphInternal::State::m_picturesMap |
a map fileId -> picture