#include <WPGSVGGenerator.h>
Public Member Functions | |
WPGSVGGenerator (std::ostream &output_sink) | |
~WPGSVGGenerator () | |
void | startGraphics (const ::WPXPropertyList &propList) |
void | endGraphics () |
void | startLayer (const ::WPXPropertyList &propList) |
void | endLayer () |
void | startEmbeddedGraphics (const ::WPXPropertyList &) |
void | endEmbeddedGraphics () |
void | setStyle (const ::WPXPropertyList &propList, const ::WPXPropertyListVector &gradient) |
void | drawRectangle (const ::WPXPropertyList &propList) |
void | drawEllipse (const ::WPXPropertyList &propList) |
void | drawPolyline (const ::WPXPropertyListVector &vertices) |
void | drawPolygon (const ::WPXPropertyListVector &vertices) |
void | drawPath (const ::WPXPropertyListVector &path) |
void | drawGraphicObject (const ::WPXPropertyList &propList, const ::WPXBinaryData &binaryData) |
void | startTextObject (const ::WPXPropertyList &propList, const ::WPXPropertyListVector &path) |
void | endTextObject () |
void | startTextLine (const ::WPXPropertyList &) |
void | endTextLine () |
void | startTextSpan (const ::WPXPropertyList &propList) |
void | endTextSpan () |
void | insertText (const ::WPXString &str) |
Private Member Functions | |
void | writeStyle (bool isClosed=true) |
void | drawPolySomething (const ::WPXPropertyListVector &vertices, bool isClosed) |
Private Attributes | |
::WPXPropertyListVector | m_gradient |
::WPXPropertyList | m_style |
int | m_gradientIndex |
std::ostream & | m_outputSink |
libwpg::WPGSVGGenerator::WPGSVGGenerator | ( | std::ostream & | output_sink | ) |
libwpg::WPGSVGGenerator::~WPGSVGGenerator | ( | ) |
void libwpg::WPGSVGGenerator::drawEllipse | ( | const ::WPXPropertyList & | propList | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::drawGraphicObject | ( | const ::WPXPropertyList & | propList, | |
const ::WPXBinaryData & | binaryData | |||
) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::drawPath | ( | const ::WPXPropertyListVector & | path | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::drawPolygon | ( | const ::WPXPropertyListVector & | vertices | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::drawPolyline | ( | const ::WPXPropertyListVector & | vertices | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::drawPolySomething | ( | const ::WPXPropertyListVector & | vertices, | |
bool | isClosed | |||
) | [private] |
Referenced by drawPolygon(), and drawPolyline().
void libwpg::WPGSVGGenerator::drawRectangle | ( | const ::WPXPropertyList & | propList | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::endEmbeddedGraphics | ( | ) | [inline, virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::endGraphics | ( | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::endLayer | ( | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::endTextLine | ( | ) | [inline, virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::endTextObject | ( | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::endTextSpan | ( | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::insertText | ( | const ::WPXString & | str | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::setStyle | ( | const ::WPXPropertyList & | propList, | |
const ::WPXPropertyListVector & | gradient | |||
) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::startEmbeddedGraphics | ( | const ::WPXPropertyList & | ) | [inline, virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::startGraphics | ( | const ::WPXPropertyList & | propList | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::startLayer | ( | const ::WPXPropertyList & | propList | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::startTextLine | ( | const ::WPXPropertyList & | ) | [inline, virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::startTextObject | ( | const ::WPXPropertyList & | propList, | |
const ::WPXPropertyListVector & | path | |||
) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::startTextSpan | ( | const ::WPXPropertyList & | propList | ) | [virtual] |
Implements libwpg::WPGPaintInterface.
void libwpg::WPGSVGGenerator::writeStyle | ( | bool | isClosed = true |
) | [private] |
Referenced by drawPath(), drawPolySomething(), and drawRectangle().
::WPXPropertyListVector libwpg::WPGSVGGenerator::m_gradient [private] |
Referenced by setStyle().
int libwpg::WPGSVGGenerator::m_gradientIndex [private] |
Referenced by setStyle(), and writeStyle().
std::ostream& libwpg::WPGSVGGenerator::m_outputSink [private] |
::WPXPropertyList libwpg::WPGSVGGenerator::m_style [private] |
Referenced by setStyle(), and writeStyle().