diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-24 15:11:40 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-25 07:48:24 +0000 |
| commit | 96ea40320d1e81d840a9cca77cf0877cb5d5ac1c (patch) | |
| tree | bbe4e4945e70058ff965d3b2d55834c5ac019d3b /src | |
| parent | Fix closing issues (diff) | |
| download | inkscape-96ea40320d1e81d840a9cca77cf0877cb5d5ac1c.tar.gz inkscape-96ea40320d1e81d840a9cca77cf0877cb5d5ac1c.zip | |
Fixing coding style
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-knot.cpp | 4 | ||||
| -rw-r--r-- | src/object/sp-ellipse.cpp | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 36f6f7a66..768277959 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -50,8 +50,8 @@ public: static Geom::Path::size_type size_nondegenerate(Geom::Path const &path) { Geom::Path::size_type retval = path.size_default(); - const Geom::Curve &closingline = path.back_closed(); - // the closing line segment is always of type + const Geom::Curve &closingline = path.back_closed(); + // the closing line segment is always of type // Geom::LineSegment. if (are_near(closingline.initialPoint(), closingline.finalPoint())) { // closingline.isDegenerate() did not work, because it only checks for diff --git a/src/object/sp-ellipse.cpp b/src/object/sp-ellipse.cpp index 3007558e7..0623fbf0c 100644 --- a/src/object/sp-ellipse.cpp +++ b/src/object/sp-ellipse.cpp @@ -461,13 +461,13 @@ void SPGenericEllipse::set_shape() if (this->_isSlice() && this->arc_type == SP_GENERIC_ELLIPSE_ARC_TYPE_SLICE) { pb.lineTo(Geom::Point(0, 0)); } -// If convert to paths ellipses become unclosed so comment this and call "closePath" -// Remove later -// if ( !(this->arc_type == SP_GENERIC_ELLIPSE_ARC_TYPE_ARC) ) { -// pb.closePath(); -// } else { -// pb.flush(); -// } + // If convert to paths ellipses become unclosed so comment this and call "closePath" + // Remove later + // if ( !(this->arc_type == SP_GENERIC_ELLIPSE_ARC_TYPE_ARC) ) { + // pb.closePath(); + // } else { + // pb.flush(); + // } pb.closePath(); c = new SPCurve(pb.peek()); |
