summaryrefslogtreecommitdiffstats
path: root/src/2geom
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2011-09-22 21:03:37 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2011-09-22 21:03:37 +0000
commit6b918e1acc9da4a47a0141fef91d60af8e27315a (patch)
treeb297785b4129aab88662b4283ad49b3144b54366 /src/2geom
parentinitialize value as const (clang complains about this) (diff)
downloadinkscape-6b918e1acc9da4a47a0141fef91d60af8e27315a.tar.gz
inkscape-6b918e1acc9da4a47a0141fef91d60af8e27315a.zip
partial 2geom update, powerstroke wants it
(bzr r10644)
Diffstat (limited to 'src/2geom')
-rw-r--r--src/2geom/sbasis-to-bezier.h4
1 files changed, 3 insertions, 1 deletions
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<Point> & bz, D2<SBasis> const& sb, size_t sz = 0);
void bezier_to_sbasis (SBasis & sb, Bezier const& bz);
void bezier_to_sbasis (D2<SBasis> & sb, std::vector<Point> const& bz);
-
+void build_from_sbasis(PathBuilder &pb, D2<SBasis> const &B, double tol, bool only_cubicbeziers);
#if 0
// this produces a degree k bezier from a degree k sbasis