From 359485c2984c4b69d34d30e5a8df00b319547887 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 7 Jul 2008 09:17:41 +0000 Subject: [PATCH] improve documentation of SPCurve::last_segment --- src/display/curve.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/display/curve.cpp b/src/display/curve.cpp index 035b65fd7..107dbca3a 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -299,7 +299,6 @@ SPCurve::get_segment_count() const return nr; } - /** * Increase _refcount of curve. * @@ -882,8 +881,8 @@ SPCurve::last_bpath() const } /** - * Return last pathsegment (possibly the closing path segment) in PathVector or NULL. - * equal in functionality to SPCurve::last_bpath() + * Return last pathsegment (possibly the closing path segment) of the last path in PathVector or NULL. + * If the last path is empty (contains only a moveto), the function returns NULL */ Geom::Curve const * SPCurve::last_segment() const -- 2.30.2