From 0914a357a06dbf4fe7081cfe26f8a7e8038ef54d Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 3 Jul 2008 20:23:49 +0000 Subject: noop, add comment (bzr r6136) --- src/display/curve.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.2.3