Inherited by IpeClosedSpline, IpeEllipse, and IpeSegmentSubPath.
A subpath is either open, or closed. There are two special kinds of closed subpaths, namely ellipses and closed B-splines.
enum IpeSubPath::TType |
The subpath types.
IpeSubPath::~IpeSubPath | ( | ) | [pure virtual] |
Implementation of pure virtual destructor.
virtual TType IpeSubPath::Type | ( | ) | const [pure virtual] |
bool IpeSubPath::Closed | ( | ) | const [virtual] |
virtual IpeSubPath* IpeSubPath::Clone | ( | ) | const [pure virtual] |
virtual IpeSubPath* IpeSubPath::Transform | ( | const IpeMatrix & | m | ) | const [pure virtual] |
Return a transformed copy of this subpath.
Implemented in IpeEllipse, IpeClosedSpline, and IpeSegmentSubPath.
const IpeEllipse * IpeSubPath::AsEllipse | ( | ) | const [virtual] |
IpeEllipse * IpeSubPath::AsEllipse | ( | ) | [virtual] |
const IpeClosedSpline * IpeSubPath::AsClosedSpline | ( | ) | const [virtual] |
Return this object as an IpeClosedSpline, or 0 if it's not a closed spline.
Reimplemented in IpeClosedSpline.
IpeClosedSpline * IpeSubPath::AsClosedSpline | ( | ) | [virtual] |
Return this object as an IpeClosedSpline, or 0 if it's not a closed spline.
Reimplemented in IpeClosedSpline.
const IpeSegmentSubPath * IpeSubPath::AsSegs | ( | ) | const [virtual] |
IpeSegmentSubPath * IpeSubPath::AsSegs | ( | ) | [virtual] |
virtual void IpeSubPath::SaveAsXml | ( | IpeStream & | stream | ) | const [pure virtual] |
virtual void IpeSubPath::Draw | ( | IpePainter & | painter | ) | const [pure virtual] |
Draw subpath (does not call DrawPath()).
Implemented in IpeEllipse, IpeClosedSpline, and IpeSegmentSubPath.
virtual double IpeSubPath::Distance | ( | const IpeVector & | v, | |
const IpeMatrix & | m, | |||
double | bound | |||
) | const [pure virtual] |
Return distance from v to subpath transformed by m.
Implemented in IpeEllipse, IpeClosedSpline, and IpeSegmentSubPath.