Code

merge in 2geom rev. 1154
[inkscape.git] / src / 2geom / sbasis-to-bezier.h
1 #ifndef _SBASIS_TO_BEZIER
2 #define _SBASIS_TO_BEZIER
4 #include "d2.h"
5 #include "path.h"
7 namespace Geom{
8 // this produces a degree k bezier from a degree k sbasis
9 Bezier
10 sbasis_to_bezier(SBasis const &B, unsigned q = 0);
12 std::vector<Geom::Point>
13 sbasis_to_bezier(D2<SBasis> const &B, unsigned q = 0);
15 std::vector<Path> path_from_piecewise(Piecewise<D2<SBasis> > const &B, double tol);
17 Path path_from_sbasis(D2<SBasis> const &B, double tol);
19 };
20 #endif