MSKGraphInternal::State Struct Reference

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

Public Member Functions

 State ()
 constructor More...
 
bool getPattern (MWAWGraphicStyle::Pattern &pat, int id, long rsid=-1)
 return the pattern corresponding to an id More...
 
float getPatternPercent (int id, long rsid=-1)
 return the percentage corresponding to a pattern More...
 
void initPatterns (int vers)
 init the pattern value More...
 

Public Attributes

int m_version
 the version More...
 
std::vector< shared_ptr< Zone > > m_zonesList
 the list of zone More...
 
std::map< int, RBZonem_RBsMap
 the RBIL zone id->list id More...
 
MWAWFont m_font
 the actual font More...
 
int m_chartId
 an index used to store chart More...
 
int m_tableId
 an index used to store table More...
 
int m_numPages
 the number of pages More...
 
std::map< long, Patternsm_rsrcPatternsMap
 a map ressource id -> patterns More...
 

Detailed Description

Internal: the state of a MSKGraph.

Constructor & Destructor Documentation

MSKGraphInternal::State::State ( )
inline

constructor

Member Function Documentation

bool MSKGraphInternal::State::getPattern ( MWAWGraphicStyle::Pattern pat,
int  id,
long  rsid = -1 
)

return the pattern corresponding to an id

float MSKGraphInternal::State::getPatternPercent ( int  id,
long  rsid = -1 
)

return the percentage corresponding to a pattern

void MSKGraphInternal::State::initPatterns ( int  vers)

init the pattern value

Referenced by getPattern(), and getPatternPercent().

Member Data Documentation

int MSKGraphInternal::State::m_chartId

an index used to store chart

MWAWFont MSKGraphInternal::State::m_font

the actual font

int MSKGraphInternal::State::m_numPages

the number of pages

std::map<int, RBZone> MSKGraphInternal::State::m_RBsMap

the RBIL zone id->list id

std::map<long, Patterns> MSKGraphInternal::State::m_rsrcPatternsMap

a map ressource id -> patterns

Referenced by getPattern(), getPatternPercent(), and initPatterns().

int MSKGraphInternal::State::m_tableId

an index used to store table

int MSKGraphInternal::State::m_version

the version

Referenced by getPattern(), and getPatternPercent().

std::vector<shared_ptr<Zone> > MSKGraphInternal::State::m_zonesList

the list of zone


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

Generated on Tue Mar 10 2015 17:32:11 for libmwaw by doxygen 1.8.5