diff options
Diffstat (limited to 'src/livarot/PathOutline.cpp')
| -rw-r--r-- | src/livarot/PathOutline.cpp | 9 |
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(); } |
