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 ()
unsigned char * decodeRLE (int width, int height, int depth)
void fillPixels (libwpg::WPGBitmap &bitmap, unsigned char *buffer, int width, int height, int depth)
void handleBitmapTypeOne ()
void handleBitmapTypeTwo ()
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

bool WPG1Parser::parse (  )  [virtual]

Implements WPGXParser.

void WPG1Parser::handleStartWPG (  )  [private]

Referenced by parse().

void WPG1Parser::handleEndWPG (  )  [private]

Referenced by handleStartWPG(), and parse().

void WPG1Parser::handleFillAttributes (  )  [private]

Referenced by parse().

void WPG1Parser::handleLineAttributes (  )  [private]

Referenced by parse().

void WPG1Parser::handleColormap (  )  [private]

Referenced by parse().

void WPG1Parser::handleLine (  )  [private]

Referenced by parse().

void WPG1Parser::handlePolyline (  )  [private]

Referenced by parse().

void WPG1Parser::handleRectangle (  )  [private]

Referenced by parse().

void WPG1Parser::handlePolygon (  )  [private]

Referenced by parse().

void WPG1Parser::handleEllipse (  )  [private]

Referenced by parse().

unsigned char * WPG1Parser::decodeRLE ( int  width,
int  height,
int  depth 
) [private]

void WPG1Parser::fillPixels ( libwpg::WPGBitmap bitmap,
unsigned char *  buffer,
int  width,
int  height,
int  depth 
) [private]

void WPG1Parser::handleBitmapTypeOne (  )  [private]

Referenced by parse().

void WPG1Parser::handleBitmapTypeTwo (  )  [private]

Referenced by parse().

void WPG1Parser::resetPalette (  )  [private]

Referenced by parse().


Member Data Documentation

Referenced by parse().

long WPG1Parser::m_recordEnd [private]

Referenced by decodeRLE(), and parse().

bool WPG1Parser::m_success [private]

Referenced by parse().

bool WPG1Parser::m_exit [private]

Referenced by handleEndWPG(), and parse().

int WPG1Parser::m_width [private]

Referenced by handleStartWPG().

int WPG1Parser::m_height [private]


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

Generated on Sat May 3 06:35:15 2008 for libwpg by doxygen 1.5.5