#include <CDRPath.h>
Public Member Functions | |
| CDRPath () | |
| CDRPath (const CDRPath &path) | |
| ~CDRPath () | |
| 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 | appendSplineTo (std::vector< std::pair< double, double > > &points) |
| void | appendArcTo (double rx, double ry, double rotation, bool longAngle, bool sweep, double x, double y) |
| void | appendClosePath () |
| void | appendPath (const CDRPath &path) |
| void | writeOut (WPXPropertyListVector &vec) const |
| void | transform (const CDRTransforms &trafos) |
| void | transform (const CDRTransform &trafo) |
| CDRPathElement * | clone () |
| void | clear () |
| bool | empty () const |
| bool | isClosed () const |
Private Member Functions | |
| CDRPath & | operator= (const CDRPath &path) |
Private Attributes | |
| std::vector< CDRPathElement * > | m_elements |
| bool | m_isClosed |
| libcdr::CDRPath::CDRPath | ( | ) | [inline] |
| libcdr::CDRPath::CDRPath | ( | const CDRPath & | path | ) |
| void libcdr::CDRPath::appendArcTo | ( | double | rx, |
| double | ry, | ||
| double | rotation, | ||
| bool | longAngle, | ||
| bool | sweep, | ||
| double | x, | ||
| double | y | ||
| ) |
| void libcdr::CDRPath::appendClosePath | ( | ) |
Referenced by libcdr::CDRPolygon::create().
| void libcdr::CDRPath::appendCubicBezierTo | ( | double | x1, |
| double | y1, | ||
| double | x2, | ||
| double | y2, | ||
| double | x, | ||
| double | y | ||
| ) |
| void libcdr::CDRPath::appendLineTo | ( | double | x, |
| double | y | ||
| ) |
Referenced by libcdr::CDRSplineData::create().
| void libcdr::CDRPath::appendMoveTo | ( | double | x, |
| double | y | ||
| ) |
Referenced by libcdr::CDRSplineData::create().
| void libcdr::CDRPath::appendPath | ( | const CDRPath & | path | ) |
Referenced by libcdr::CDRPolygon::create().
| void libcdr::CDRPath::appendQuadraticBezierTo | ( | double | x1, |
| double | y1, | ||
| double | x, | ||
| double | y | ||
| ) |
Referenced by libcdr::CDRSplineData::create().
| void libcdr::CDRPath::appendSplineTo | ( | std::vector< std::pair< double, double > > & | points | ) |
Referenced by libcdr::CDRSplineData::create().
| void libcdr::CDRPath::clear | ( | ) |
| libcdr::CDRPathElement * libcdr::CDRPath::clone | ( | ) | [virtual] |
Implements libcdr::CDRPathElement.
| bool libcdr::CDRPath::empty | ( | ) | const |
| bool libcdr::CDRPath::isClosed | ( | ) | const |
Referenced by CDRPath().
| void libcdr::CDRPath::transform | ( | const CDRTransforms & | trafos | ) | [virtual] |
Implements libcdr::CDRPathElement.
Referenced by libcdr::CDRPolygon::create().
| void libcdr::CDRPath::transform | ( | const CDRTransform & | trafo | ) | [virtual] |
Implements libcdr::CDRPathElement.
| void libcdr::CDRPath::writeOut | ( | WPXPropertyListVector & | vec | ) | const [virtual] |
Implements libcdr::CDRPathElement.
std::vector<CDRPathElement *> libcdr::CDRPath::m_elements [private] |
Referenced by appendPath(), and CDRPath().
bool libcdr::CDRPath::m_isClosed [private] |
Referenced by CDRPath().