summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2009-04-07 23:05:37 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2009-04-07 23:05:37 +0000
commit3e27e06ebd0e6ce24872de5a26e441bbc2826972 (patch)
treed14f22932e8dafc8fabd454a68e8d087cc71082d /src
parentis_straight_curve now also returns true for straight line quadratic and cubic... (diff)
downloadinkscape-3e27e06ebd0e6ce24872de5a26e441bbc2826972.tar.gz
inkscape-3e27e06ebd0e6ce24872de5a26e441bbc2826972.zip
noop: add todo
(bzr r7664)
Diffstat (limited to 'src')
-rw-r--r--src/helper/geom-curves.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helper/geom-curves.h b/src/helper/geom-curves.h
index bc5a8213a..7c181832c 100644
--- a/src/helper/geom-curves.h
+++ b/src/helper/geom-curves.h
@@ -16,6 +16,7 @@
#include <2geom/line.h>
#include <2geom/bezier-curve.h>
+/// \todo un-inline this function
inline bool is_straight_curve(Geom::Curve const & c) {
if( dynamic_cast<Geom::LineSegment const*>(&c) ||
dynamic_cast<Geom::HLineSegment const*>(&c) ||