#include <FHPath.h>
Public Member Functions | |
FHPath () | |
FHPath (const FHPath &path) | |
~FHPath () | |
FHPath & | operator= (const FHPath &path) |
void | appendMoveTo (double x, double y) |
void | appendLineTo (double x, double y) |
void | appendCubicBezierTo (double x1, double y1, double x2, double y2, double x, double y) |
void | appendQuadraticBezierTo (double x1, double y1, double x, double y) |
void | appendArcTo (double rx, double ry, double rotation, bool longAngle, bool sweep, double x, double y) |
void | appendClosePath () |
void | appendPath (const FHPath &path) |
void | setXFormId (unsigned xFormId) |
void | setGraphicStyleId (unsigned graphicStyleId) |
void | setEvenOdd (bool evenOdd) |
void | writeOut (librevenge::RVNGPropertyListVector &vec) const |
std::string | getPathString () const |
void | transform (const FHTransform &trafo) |
void | getBoundingBox (double x0, double y0, double &xmin, double &ymin, double &xmax, double &ymax) const |
double | getX () const |
double | getY () const |
void | clear () |
bool | empty () const |
bool | isClosed () const |
unsigned | getXFormId () const |
unsigned | getGraphicStyleId () const |
bool | getEvenOdd () const |
void | getBoundingBox (double &xmin, double &ymin, double &xmax, double &ymax) const |
Private Attributes | |
std::vector< std::unique_ptr< FHPathElement > > | m_elements |
bool | m_isClosed |
unsigned | m_xFormId |
unsigned | m_graphicStyleId |
bool | m_evenOdd |
|
inline |
libfreehand::FHPath::FHPath | ( | const FHPath & | path | ) |
libfreehand::FHPath::~FHPath | ( | ) |
void libfreehand::FHPath::appendArcTo | ( | double | rx, |
double | ry, | ||
double | rotation, | ||
bool | longAngle, | ||
bool | sweep, | ||
double | x, | ||
double | y | ||
) |
Referenced by libfreehand::FHParser::readOval().
void libfreehand::FHPath::appendClosePath | ( | ) |
void libfreehand::FHPath::appendCubicBezierTo | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x, | ||
double | y | ||
) |
Referenced by libfreehand::FHParser::readArrowPath(), and libfreehand::FHParser::readPath().
void libfreehand::FHPath::appendLineTo | ( | double | x, |
double | y | ||
) |
void libfreehand::FHPath::appendMoveTo | ( | double | x, |
double | y | ||
) |
void libfreehand::FHPath::appendPath | ( | const FHPath & | path | ) |
void libfreehand::FHPath::appendQuadraticBezierTo | ( | double | x1, |
double | y1, | ||
double | x, | ||
double | y | ||
) |
Referenced by libfreehand::FHParser::readRectangle().
void libfreehand::FHPath::clear | ( | ) |
bool libfreehand::FHPath::empty | ( | ) | const |
void libfreehand::FHPath::getBoundingBox | ( | double & | xmin, |
double & | ymin, | ||
double & | xmax, | ||
double & | ymax | ||
) | const |
void libfreehand::FHPath::getBoundingBox | ( | double | x0, |
double | y0, | ||
double & | xmin, | ||
double & | ymin, | ||
double & | xmax, | ||
double & | ymax | ||
) | const |
bool libfreehand::FHPath::getEvenOdd | ( | ) | const |
Referenced by libfreehand::FHCollector::_outputClipGroup(), and libfreehand::FHCollector::_outputPath().
unsigned libfreehand::FHPath::getGraphicStyleId | ( | ) | const |
std::string libfreehand::FHPath::getPathString | ( | ) | const |
Referenced by libfreehand::FHCollector::_appendArrowPath().
double libfreehand::FHPath::getX | ( | ) | const |
unsigned libfreehand::FHPath::getXFormId | ( | ) | const |
double libfreehand::FHPath::getY | ( | ) | const |
bool libfreehand::FHPath::isClosed | ( | ) | const |
Referenced by libfreehand::FHCollector::_outputPath().
libfreehand::FHPath & libfreehand::FHPath::operator= | ( | const FHPath & | path | ) |
void libfreehand::FHPath::setEvenOdd | ( | bool | evenOdd | ) |
void libfreehand::FHPath::setGraphicStyleId | ( | unsigned | graphicStyleId | ) |
void libfreehand::FHPath::setXFormId | ( | unsigned | xFormId | ) |
void libfreehand::FHPath::transform | ( | const FHTransform & | trafo | ) |
void libfreehand::FHPath::writeOut | ( | librevenge::RVNGPropertyListVector & | vec | ) | const |
Referenced by libfreehand::FHCollector::_outputClipGroup(), and libfreehand::FHCollector::_outputPath().
|
private |
Referenced by appendPath().
|
private |
|
private |
Referenced by operator=().
|
private |
Referenced by operator=().
|
private |
Referenced by operator=().