summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathOutline.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-07 01:19:18 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-07 01:19:18 +0000
commit48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae (patch)
tree9e66e429e2025fb99b28511231f87c533c15e865 /src/livarot/PathOutline.cpp
parentClean up some unnecessary pointer usage in livarot (diff)
downloadinkscape-48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae.tar.gz
inkscape-48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae.zip
Undo changes in r13391
(bzr r13341.1.51)
Diffstat (limited to 'src/livarot/PathOutline.cpp')
-rw-r--r--src/livarot/PathOutline.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/livarot/PathOutline.cpp b/src/livarot/PathOutline.cpp
index f1978931a..211ee31e2 100644
--- a/src/livarot/PathOutline.cpp
+++ b/src/livarot/PathOutline.cpp
@@ -21,9 +21,8 @@
// outline of a path.
// computed by making 2 offsets, one of the "left" side of the path, one of the right side, and then glueing the two
// the left side has to be reversed to make a contour
-void Path::Outline(Path &destr, double width, JoinType join, ButtType butt, double miter)
+void Path::Outline(Path *dest, double width, JoinType join, ButtType butt, double miter)
{
- ::Path * dest = &destr;
if ( descr_flags & descr_adding_bezier ) {
CancelBezier();
}
@@ -199,10 +198,9 @@ void Path::Outline(Path &destr, double width, JoinType join, ButtType butt, doub
// versions for outlining closed path: they only make one side of the offset contour
void
-Path::OutsideOutline (Path & destr, double width, JoinType join, ButtType butt,
+Path::OutsideOutline (Path * dest, double width, JoinType join, ButtType butt,
double miter)
{
- ::Path * dest = &destr;
if (descr_flags & descr_adding_bezier) {
CancelBezier();
}
@@ -225,10 +223,9 @@ Path::OutsideOutline (Path & destr, double width, JoinType join, ButtType butt,
}
void
-Path::InsideOutline (Path & destr, double width, JoinType join, ButtType butt,
+Path::InsideOutline (Path * dest, double width, JoinType join, ButtType butt,
double miter)
{
- ::Path * dest = &destr;
if ( descr_flags & descr_adding_bezier ) {
CancelBezier();
}