HanMacWrdKGraphInternal::State Struct Reference

Internal: the state of a HanMacWrdKGraph. More...

Public Member Functions

 State ()
 constructor More...
 
bool getColor (int id, MWAWColor &col)
 returns a color correspond to an id More...
 
bool getPattern (int id, Pattern &pattern)
 returns a pattern correspond to an id More...
 
void initColors ()
 init the color list More...
 
void initPatterns ()
 init the pattenr list More...
 

Static Public Member Functions

static MWAWColor getColor (MWAWColor col, float pattern)
 returns a color corresponding to a pattern and a color More...
 

Public Attributes

int m_numPages
 
std::multimap< long,
shared_ptr< Frame > > 
m_framesMap
 a map fileId -> frame More...
 
std::map< long, shared_ptr
< Picture > > 
m_picturesMap
 a map fileId -> picture More...
 
std::vector< MWAWColorm_colorList
 a list colorId -> color More...
 
std::vector< Patternm_patternList
 the patterns list More...
 

Detailed Description

Internal: the state of a HanMacWrdKGraph.

Constructor & Destructor Documentation

HanMacWrdKGraphInternal::State::State ( )
inline

constructor

Member Function Documentation

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 
)
inlinestatic

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

void HanMacWrdKGraphInternal::State::initColors ( )

init the color list

Referenced by getColor().

void HanMacWrdKGraphInternal::State::initPatterns ( )

init the pattenr list

Referenced by getPattern().

Member Data Documentation

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

int HanMacWrdKGraphInternal::State::m_numPages
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


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

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