Internal: the state of a ApplePictParser. More...
Public Member Functions | |
State () | |
constructor More... | |
void | initPatterns () |
init the patterns list More... | |
bool | isInvisible (ApplePictParser::DrawingMethod method) const |
returns true if the shape is invisible More... | |
void | updateStyle (ApplePictParser::DrawingMethod method, MWAWGraphicStyle &style) |
update the actual style More... | |
void | updatePosition (MWAWVec2f const &orig, MWAWPosition &pos) |
update the position More... | |
void | updatePosition (MWAWBox2f const &bdBox, MWAWPosition &pos) |
update the position More... | |
Internal: the state of a ApplePictParser.
|
inline |
constructor
void ApplePictParserInternal::State::initPatterns | ( | ) |
init the patterns list
|
inline |
returns true if the shape is invisible
|
inline |
update the position
|
inline |
update the position
|
inline |
update the actual style
bool ApplePictParserInternal::State::m_afterQuicktime |
a flag to know if we have found a quicktime picture/movie
MWAWColor ApplePictParserInternal::State::m_backColor |
the background color
MWAWGraphicStyle::Pattern ApplePictParserInternal::State::m_backgroundPattern |
the background pattern
Referenced by updateStyle().
MWAWBox2f ApplePictParserInternal::State::m_bdBox |
the bounding rectangle
Referenced by updatePosition().
MWAWBox2i ApplePictParserInternal::State::m_circle |
the last circle
MWAWGraphicStyle::Pattern ApplePictParserInternal::State::m_fillPattern |
the fill pattern
Referenced by updateStyle().
MWAWFont ApplePictParserInternal::State::m_font |
the actual font
MWAWColor ApplePictParserInternal::State::m_foreColor |
the foreground color
Referenced by updateStyle().
MWAWColor ApplePictParserInternal::State::m_hiliteColor |
the hilite color
bool ApplePictParserInternal::State::m_isHiliteMode |
true if we must use the hilite mode
MWAWColor ApplePictParserInternal::State::m_opColor |
the op color
MWAWVec2f ApplePictParserInternal::State::m_origin |
the origin
Referenced by updatePosition().
MWAWVec2i ApplePictParserInternal::State::m_ovalSize |
the actual ovalsize
int ApplePictParserInternal::State::m_penMode |
the pen mode
Referenced by isInvisible().
MWAWGraphicStyle::Pattern ApplePictParserInternal::State::m_penPattern |
the pen pattern
Referenced by updateStyle().
MWAWVec2i ApplePictParserInternal::State::m_penPosition |
the actual pen position
MWAWVec2i ApplePictParserInternal::State::m_penSize |
the actual pensize
Referenced by isInvisible(), and updateStyle().
MWAWBox2i ApplePictParserInternal::State::m_pie |
the last pie
std::vector<MWAWVec2i> ApplePictParserInternal::State::m_points |
the last polygon points
MWAWBox2i ApplePictParserInternal::State::m_rectangle |
the last rectangle
MWAWBox2i ApplePictParserInternal::State::m_roundRectangle |
the last round rectangle
int ApplePictParserInternal::State::m_textMode |
the text mode
Referenced by isInvisible().
MWAWVec2i ApplePictParserInternal::State::m_textPosition |
the actual text position
int ApplePictParserInternal::State::m_version |
the file version