#include <WPGPath.h>
Public Member Functions | |
WPGPath () | |
~WPGPath () | |
WPGPath (const WPGPath &) | |
WPGPath & | operator= (const WPGPath &) |
unsigned | count () const |
WPGPathElement | element (unsigned index) const |
void | moveTo (const WPGPoint &point) |
void | lineTo (const WPGPoint &point) |
void | curveTo (const WPGPoint &c1, const WPGPoint &c2, const WPGPoint &endPoint) |
void | addElement (const WPGPathElement &elem) |
void | append (const WPGPath &path) |
Public Attributes | |
bool | closed |
Private Attributes | |
WPGPathPrivate * | d |
libwpg::WPGPath::WPGPath | ( | ) |
libwpg::WPGPath::~WPGPath | ( | ) |
libwpg::WPGPath::WPGPath | ( | const WPGPath & | path | ) |
void libwpg::WPGPath::addElement | ( | const WPGPathElement & | elem | ) |
void libwpg::WPGPath::append | ( | const WPGPath & | path | ) |
unsigned libwpg::WPGPath::count | ( | ) | const |
Referenced by append(), and libwpg::WPGSVGGenerator::drawPath().
void libwpg::WPGPath::curveTo | ( | const WPGPoint & | c1, | |
const WPGPoint & | c2, | |||
const WPGPoint & | endPoint | |||
) |
Referenced by WPG1Parser::handleCurvedPolyline(), and WPG2Parser::handlePolycurve().
libwpg::WPGPathElement libwpg::WPGPath::element | ( | unsigned | index | ) | const |
Referenced by append(), and libwpg::WPGSVGGenerator::drawPath().
void libwpg::WPGPath::lineTo | ( | const WPGPoint & | point | ) |
Referenced by WPG2Parser::handlePolyline().
void libwpg::WPGPath::moveTo | ( | const WPGPoint & | point | ) |
Referenced by WPG1Parser::handleCurvedPolyline(), WPG2Parser::handlePolycurve(), and WPG2Parser::handlePolyline().
libwpg::WPGPath & libwpg::WPGPath::operator= | ( | const WPGPath & | path | ) |
WPGPathPrivate* libwpg::WPGPath::d [private] |
Referenced by addElement(), count(), element(), operator=(), WPGPath(), and ~WPGPath().