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

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::handleColormap  )  [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::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 on Sun Jan 4 18:43:38 2009 for libwpg by doxygen 1.4.6