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

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 resetPalette ()

Private Attributes

int m_recordLength
long m_recordEnd
bool m_success
bool m_exit
bool m_graphicsStarted
int m_width
int m_height
libwpg::WPGPen m_pen
libwpg::WPGBrush m_brush

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]

void WPG1Parser::handleBitmapTypeTwo (  )  [private]

void WPG1Parser::handleColormap (  )  [private]

void WPG1Parser::handleCurvedPolyline (  )  [private]

void WPG1Parser::handleEllipse (  )  [private]

void WPG1Parser::handleEndWPG (  )  [private]

void WPG1Parser::handleFillAttributes (  )  [private]

void WPG1Parser::handleLine (  )  [private]

void WPG1Parser::handleLineAttributes (  )  [private]

void WPG1Parser::handlePolygon (  )  [private]

void WPG1Parser::handlePolyline (  )  [private]

void WPG1Parser::handlePostscriptTypeOne (  )  [private]

void WPG1Parser::handlePostscriptTypeTwo (  )  [private]

void WPG1Parser::handleRectangle (  )  [private]

void WPG1Parser::handleStartWPG (  )  [private]

bool WPG1Parser::parse (  )  [virtual]

Implements WPGXParser.

void WPG1Parser::resetPalette (  )  [private]


Member Data Documentation

libwpg::WPGBrush WPG1Parser::m_brush [private]

bool WPG1Parser::m_exit [private]

bool WPG1Parser::m_graphicsStarted [private]

int WPG1Parser::m_height [private]

libwpg::WPGPen WPG1Parser::m_pen [private]

long WPG1Parser::m_recordEnd [private]

int WPG1Parser::m_recordLength [private]

bool WPG1Parser::m_success [private]

int WPG1Parser::m_width [private]


The documentation for this class was generated from the following files:
Generated for libwpg by doxygen 1.4.7