ipe::ClosedSpline Class Reference
[Ipe Geometry]
A closed B-spline curve.
More...
#include <ipeshape.h>
Inherits ipe::SubPath.
List of all members.
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) const
- virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
Public Attributes
Detailed Description
A closed B-spline curve.
Constructor & Destructor Documentation
ClosedSpline::ClosedSpline |
( |
const std::vector< Vector > & |
v |
) |
|
Member Function Documentation
const ClosedSpline * ClosedSpline::asClosedSpline |
( |
|
) |
const [virtual] |
void ClosedSpline::beziers |
( |
std::vector< Bezier > & |
bez |
) |
const |
void ClosedSpline::save |
( |
Stream & |
stream |
) |
const [virtual] |
void ClosedSpline::draw |
( |
Painter & |
painter |
) |
const [virtual] |
Draw subpath (does not call drawPath()).
Implements ipe::SubPath.
void ClosedSpline::addToBBox |
( |
Rect & |
box, |
|
|
const Matrix & |
m, |
|
|
bool |
cp | |
|
) |
| | const [virtual] |
double ClosedSpline::distance |
( |
const Vector & |
v, |
|
|
const Matrix & |
m, |
|
|
double |
bound | |
|
) |
| | const [virtual] |
Return distance from v to subpath transformed by m.
Implements ipe::SubPath.
void ClosedSpline::snapVtx |
( |
const Vector & |
mouse, |
|
|
const Matrix & |
m, |
|
|
Vector & |
pos, |
|
|
double & |
bound | |
|
) |
| | const [virtual] |
void ClosedSpline::snapBnd |
( |
const Vector & |
mouse, |
|
|
const Matrix & |
m, |
|
|
Vector & |
pos, |
|
|
double & |
bound | |
|
) |
| | const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: