blob: 695f5d503f80ed8844368a8b242c36ead7fee51b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- src/object/sp-ellipse.cpp (before formatting)
+++ src/object/sp-ellipse.cpp (after formatting)
@@ -461,13 +461,13 @@
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());
--- src/live_effects/lpe-knot.cpp (before formatting)
+++ src/live_effects/lpe-knot.cpp (after formatting)
@@ -50,8 +50,8 @@
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
|