| Ipelib
    | 
#include <ipeshape.h>
Inherits ipe::SubPath.
| Public Member Functions | |
| ClosedSpline (const std::vector< Vector > &v) | |
| virtual Type | type () const | 
| virtual const ClosedSpline * | asClosedSpline () const | 
| void | beziers (std::vector< Bezier > &bez) const | 
| virtual void | save (Stream &stream) const | 
| virtual void | draw (Painter &painter) const | 
| virtual void | addToBBox (Rect &box, const Matrix &m, bool cp) const | 
| virtual double | distance (const Vector &v, const Matrix &m, double bound) const | 
| virtual void | snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const | 
| virtual void | snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const | 
|  Public Member Functions inherited from ipe::SubPath | |
| virtual | ~SubPath ()=0 | 
| virtual bool | closed () const | 
| virtual const Ellipse * | asEllipse () const | 
| virtual const Curve * | asCurve () const | 
| Public Attributes | |
| std::vector< Vector > | iCP | 
| Additional Inherited Members | |
|  Public Types inherited from ipe::SubPath | |
| enum | Type { ECurve, EEllipse, EClosedSpline } | 
A closed B-spline curve.
| 
 | virtual | 
| 
 | virtual | 
Return this object as an ClosedSpline, or 0 if it's not a closed spline.
Reimplemented from ipe::SubPath.
| void ClosedSpline::beziers | ( | std::vector< Bezier > & | bez | ) | const | 
References ipe::Bezier::closedSpline(), and iCP.
Referenced by addToBBox(), distance(), draw(), and snapBnd().
| 
 | virtual | 
| 
 | virtual | 
Draw subpath (does not call drawPath()).
Implements ipe::SubPath.
References beziers(), ipe::Painter::closePath(), ipe::Painter::curveTo(), and ipe::Painter::moveTo().
Add subpath to box.
Implements ipe::SubPath.
References ipe::Rect::addPoint(), ipe::Rect::addRect(), beziers(), and iCP.
| std::vector<Vector> ipe::ClosedSpline::iCP | 
Referenced by addToBBox(), beziers(), ClosedSpline(), save(), and snapVtx().