ipe::SubPath Class Reference
[Ipe Geometry]
A subpath of a Path.
More...
#include <ipeshape.h>
Inherited by ipe::ClosedSpline, ipe::Curve, and ipe::Ellipse.
List of all members.
Public Types
Public Member Functions
- virtual ~SubPath ()=0
- virtual Type type () const =0
- virtual bool closed () const
- virtual const Ellipse * asEllipse () const
- virtual const ClosedSpline * asClosedSpline () const
- virtual const Curve * asCurve () const
- virtual void save (Stream &stream) const =0
- virtual void draw (Painter &painter) const =0
- virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const =0
- virtual double distance (const Vector &v, const Matrix &m, double bound) const =0
- virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const =0
- virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const =0
Detailed Description
A subpath of a Path.
A subpath is either open, or closed. There are two special kinds of closed subpaths, namely ellipses and closed B-splines.
Member Enumeration Documentation
The subpath types.
- Enumerator:
| ECurve |
|
| EEllipse |
|
| EClosedSpline |
|
Constructor & Destructor Documentation
| SubPath::~SubPath |
( |
|
) |
[pure virtual] |
Implementation of pure virtual destructor.
Member Function Documentation