#include <FHSVGGenerator.h>
Public Member Functions | |
FHSVGGenerator (FHStringVector &vec) | |
~FHSVGGenerator () | |
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 |
int | m_patternIndex |
int | m_shadowIndex |
std::ostringstream | m_outputSink |
FHStringVector & | m_vec |
libfreehand::FHSVGGenerator::FHSVGGenerator | ( | FHStringVector & | vec | ) |
void libfreehand::FHSVGGenerator::drawEllipse | ( | const ::WPXPropertyList & | propList | ) |
void libfreehand::FHSVGGenerator::drawGraphicObject | ( | const ::WPXPropertyList & | propList, |
const ::WPXBinaryData & | binaryData | ||
) |
void libfreehand::FHSVGGenerator::drawPath | ( | const ::WPXPropertyListVector & | path | ) |
void libfreehand::FHSVGGenerator::drawPolygon | ( | const ::WPXPropertyListVector & | vertices | ) |
void libfreehand::FHSVGGenerator::drawPolyline | ( | const ::WPXPropertyListVector & | vertices | ) |
void libfreehand::FHSVGGenerator::drawPolySomething | ( | const ::WPXPropertyListVector & | vertices, |
bool | isClosed | ||
) | [private] |
void libfreehand::FHSVGGenerator::drawRectangle | ( | const ::WPXPropertyList & | propList | ) |
void libfreehand::FHSVGGenerator::endEmbeddedGraphics | ( | ) | [inline] |
void libfreehand::FHSVGGenerator::endTextLine | ( | ) | [inline] |
void libfreehand::FHSVGGenerator::insertText | ( | const ::WPXString & | str | ) |
void libfreehand::FHSVGGenerator::setStyle | ( | const ::WPXPropertyList & | propList, |
const ::WPXPropertyListVector & | gradient | ||
) |
void libfreehand::FHSVGGenerator::startEmbeddedGraphics | ( | const ::WPXPropertyList & | ) | [inline] |
void libfreehand::FHSVGGenerator::startGraphics | ( | const ::WPXPropertyList & | propList | ) |
void libfreehand::FHSVGGenerator::startLayer | ( | const ::WPXPropertyList & | propList | ) |
void libfreehand::FHSVGGenerator::startTextLine | ( | const ::WPXPropertyList & | ) | [inline] |
void libfreehand::FHSVGGenerator::startTextObject | ( | const ::WPXPropertyList & | propList, |
const ::WPXPropertyListVector & | path | ||
) |
void libfreehand::FHSVGGenerator::startTextSpan | ( | const ::WPXPropertyList & | propList | ) |
void libfreehand::FHSVGGenerator::writeStyle | ( | bool | isClosed = true | ) | [private] |
::WPXPropertyListVector libfreehand::FHSVGGenerator::m_gradient [private] |
int libfreehand::FHSVGGenerator::m_gradientIndex [private] |
std::ostringstream libfreehand::FHSVGGenerator::m_outputSink [private] |
int libfreehand::FHSVGGenerator::m_patternIndex [private] |
int libfreehand::FHSVGGenerator::m_shadowIndex [private] |
::WPXPropertyList libfreehand::FHSVGGenerator::m_style [private] |
FHStringVector& libfreehand::FHSVGGenerator::m_vec [private] |