WPG1Parser Class Reference

#include <WPG1Parser.h>

Inheritance diagram for WPG1Parser:
WPGXParser

List of all members.

Public Member Functions

 WPG1Parser (WPXInputStream *input, libwpg::WPGPaintInterface *painter)
bool parse ()
- Public Member Functions inherited from WPGXParser
 WPGXParser (WPXInputStream *input, libwpg::WPGPaintInterface *painter)
 WPGXParser (const WPGXParser &parser)
virtual ~WPGXParser ()
unsigned char readU8 ()
unsigned short readU16 ()
unsigned int readU32 ()
short readS16 ()
int readS32 ()
unsigned int readVariableLengthInteger ()
WPGXParseroperator= (const WPGXParser &parser)

Private Member Functions

void handleStartWPG ()
void handleEndWPG ()
void handleFillAttributes ()
void handleLineAttributes ()
void handleColormap ()
void handleLine ()
void handlePolyline ()
void handleRectangle ()
void handlePolygon ()
void handleEllipse ()
void handleCurvedPolyline ()
void decodeRLE (std::vector< unsigned char > &buffer, unsigned width, unsigned height, unsigned depth)
void fillPixels (libwpg::WPGBitmap &bitmap, const unsigned char *buffer, unsigned width, unsigned height, unsigned depth)
void handleBitmapTypeOne ()
void handleBitmapTypeTwo ()
void handlePostscriptTypeOne ()
void handlePostscriptTypeTwo ()
void handleGraphicsTextAttributes ()
void handleGraphicsTextTypeOne ()
void handleGraphicsTextTypeTwo ()
void handleGraphicsTextTypeThree ()
void resetPalette ()

Private Attributes

int m_recordLength
long m_recordEnd
bool m_success
bool m_exit
bool m_graphicsStarted
int m_width
int m_height
::WPXPropertyList m_style
libwpg::WPGColor m_penForeColor
libwpg::WPGColor m_penBackColor
libwpg::WPGColor m_brushForeColor
libwpg::WPGColor m_brushBackColor
libwpg::WPGDashArray m_dashArray
::WPXPropertyListVector m_gradient

Additional Inherited Members

- Protected Attributes inherited from WPGXParser
WPXInputStream * m_input
libwpg::WPGPaintInterfacem_painter
std::map< int, libwpg::WPGColorm_colorPalette

Constructor & Destructor Documentation

WPG1Parser::WPG1Parser ( WPXInputStream *  input,
libwpg::WPGPaintInterface painter 
)

Member Function Documentation

void WPG1Parser::decodeRLE ( std::vector< unsigned char > &  buffer,
unsigned  width,
unsigned  height,
unsigned  depth 
)
private
void WPG1Parser::fillPixels ( libwpg::WPGBitmap bitmap,
const unsigned char *  buffer,
unsigned  width,
unsigned  height,
unsigned  depth 
)
private
void WPG1Parser::handleBitmapTypeOne ( )
private

Referenced by parse().

void WPG1Parser::handleBitmapTypeTwo ( )
private

Referenced by parse().

void WPG1Parser::handleColormap ( )
private

Referenced by parse().

void WPG1Parser::handleCurvedPolyline ( )
private

Referenced by parse().

void WPG1Parser::handleEllipse ( )
private

Referenced by parse().

void WPG1Parser::handleEndWPG ( )
private

Referenced by handleStartWPG(), and parse().

void WPG1Parser::handleFillAttributes ( )
private

Referenced by parse().

void WPG1Parser::handleGraphicsTextAttributes ( )
private

Referenced by parse().

void WPG1Parser::handleGraphicsTextTypeOne ( )
private

Referenced by parse().

void WPG1Parser::handleGraphicsTextTypeThree ( )
private
void WPG1Parser::handleGraphicsTextTypeTwo ( )
private

Referenced by parse().

void WPG1Parser::handleLine ( )
private

Referenced by parse().

void WPG1Parser::handleLineAttributes ( )
private

Referenced by parse().

void WPG1Parser::handlePolygon ( )
private

Referenced by parse().

void WPG1Parser::handlePolyline ( )
private

Referenced by parse().

void WPG1Parser::handlePostscriptTypeOne ( )
private

Referenced by parse().

void WPG1Parser::handlePostscriptTypeTwo ( )
private

Referenced by parse().

void WPG1Parser::handleRectangle ( )
private

Referenced by parse().

void WPG1Parser::handleStartWPG ( )
private

Referenced by parse().

bool WPG1Parser::parse ( )
virtual

Implements WPGXParser.

void WPG1Parser::resetPalette ( )
private

Referenced by parse().


Member Data Documentation

libwpg::WPGColor WPG1Parser::m_brushBackColor
private

Referenced by parse().

libwpg::WPGColor WPG1Parser::m_brushForeColor
private
libwpg::WPGDashArray WPG1Parser::m_dashArray
private

Referenced by parse().

bool WPG1Parser::m_exit
private

Referenced by handleEndWPG(), and parse().

::WPXPropertyListVector WPG1Parser::m_gradient
private
libwpg::WPGColor WPG1Parser::m_penBackColor
private

Referenced by parse().

libwpg::WPGColor WPG1Parser::m_penForeColor
private
long WPG1Parser::m_recordEnd
private
int WPG1Parser::m_recordLength
private

Referenced by parse().

bool WPG1Parser::m_success
private

Referenced by parse().

int WPG1Parser::m_width
private

Referenced by handleStartWPG().


The documentation for this class was generated from the following files:

Generated for libwpg by doxygen 1.8.1.1