summaryrefslogtreecommitdiffstats
path: root/src/display/curve.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-03 20:23:49 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-03 20:23:49 +0000
commit0914a357a06dbf4fe7081cfe26f8a7e8038ef54d (patch)
treea257871d270624b4674f91058798a5e54a99ee6d /src/display/curve.cpp
parentupdate 2geom (svn rev1433). how far away is automatic filelist building on li... (diff)
downloadinkscape-0914a357a06dbf4fe7081cfe26f8a7e8038ef54d.tar.gz
inkscape-0914a357a06dbf4fe7081cfe26f8a7e8038ef54d.zip
noop, add comment
(bzr r6136)
Diffstat (limited to 'src/display/curve.cpp')
-rw-r--r--src/display/curve.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp
index 5dca3c00f..1d3a3b1d5 100644
--- a/src/display/curve.cpp
+++ b/src/display/curve.cpp
@@ -993,6 +993,10 @@ SPCurve::first_point() const
/**
* Return the second point of first subpath or _movePos if curve too short.
+ * If the pathvector is empty, this returns (0,0). If the first path is only a moveto, this method
+ * returns the first point of the second path, if it exists. Otherwise (0,0)
+ *
+ * FIXME: for empty paths this should return (NR_HUGE,NR_HUGE)
*/
NR::Point
SPCurve::second_point() const