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
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]

void WPG1Parser::handleEndWPG (  )  [private]

void WPG1Parser::handleFillAttributes (  )  [private]

void WPG1Parser::handleLineAttributes (  )  [private]

void WPG1Parser::handleColormap (  )  [private]

void WPG1Parser::handleLine (  )  [private]

void WPG1Parser::handlePolyline (  )  [private]

void WPG1Parser::handleRectangle (  )  [private]

void WPG1Parser::handlePolygon (  )  [private]

void WPG1Parser::handleEllipse (  )  [private]

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]

void WPG1Parser::handleBitmapTypeTwo (  )  [private]

void WPG1Parser::resetPalette (  )  [private]


Member Data Documentation

int WPG1Parser::m_recordLength [private]

long WPG1Parser::m_recordEnd [private]

bool WPG1Parser::m_success [private]

bool WPG1Parser::m_exit [private]

int WPG1Parser::m_width [private]

int WPG1Parser::m_height [private]

libwpg::WPGPen WPG1Parser::m_pen [private]

libwpg::WPGBrush WPG1Parser::m_brush [private]


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 10:06:04 2007 for libwpg by doxygen 1.5.3