From 6b918e1acc9da4a47a0141fef91d60af8e27315a Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 22 Sep 2011 23:03:37 +0200 Subject: partial 2geom update, powerstroke wants it (bzr r10644) --- src/2geom/sbasis-to-bezier.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/2geom/sbasis-to-bezier.h b/src/2geom/sbasis-to-bezier.h index 819aa87d6..b386bd520 100644 --- a/src/2geom/sbasis-to-bezier.h +++ b/src/2geom/sbasis-to-bezier.h @@ -42,11 +42,13 @@ namespace Geom { +class PathBuilder; + void sbasis_to_bezier (Bezier & bz, SBasis const& sb, size_t sz = 0); void sbasis_to_bezier (std::vector & bz, D2 const& sb, size_t sz = 0); void bezier_to_sbasis (SBasis & sb, Bezier const& bz); void bezier_to_sbasis (D2 & sb, std::vector const& bz); - +void build_from_sbasis(PathBuilder &pb, D2 const &B, double tol, bool only_cubicbeziers); #if 0 // this produces a degree k bezier from a degree k sbasis -- cgit v1.2.3