summaryrefslogtreecommitdiffstats
path: root/src/helper/geom.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-24 14:17:37 +0000
committerJabiertxof <jtx@jtx>2017-01-24 14:17:37 +0000
commit6065dda92002a05f31d58ce373bbcccdbe761907 (patch)
tree376d1a771f47d66b714ed28cd3563f3d9ad838b4 /src/helper/geom.cpp
parentfixing to new trunk (diff)
parentFix a translation bug in rotate copies LPE (diff)
downloadinkscape-6065dda92002a05f31d58ce373bbcccdbe761907.tar.gz
inkscape-6065dda92002a05f31d58ce373bbcccdbe761907.zip
Update to trunk
(bzr r15142.1.39)
Diffstat (limited to 'src/helper/geom.cpp')
-rw-r--r--src/helper/geom.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp
index 42c494c00..e1f05c3ce 100644
--- a/src/helper/geom.cpp
+++ b/src/helper/geom.cpp
@@ -843,6 +843,13 @@ recursive_bezier4(const double x1, const double y1,
recursive_bezier4(x1234, y1234, x234, y234, x34, y34, x4, y4, m_points, level + 1);
}
+void
+swap(Geom::Point &A, Geom::Point &B){
+ Geom::Point tmp = A;
+ A = B;
+ B = tmp;
+}
+
/*
Local Variables:
mode:c++