#include <WPG1Parser.h>
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 |
WPG1Parser::WPG1Parser | ( | WPXInputStream * | input, | |
libwpg::WPGPaintInterface * | painter | |||
) |
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] |
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] |