From: johanengelen Date: Mon, 7 Jul 2008 09:17:41 +0000 (+0000) Subject: improve documentation of SPCurve::last_segment X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=359485c2984c4b69d34d30e5a8df00b319547887;p=inkscape.git improve documentation of SPCurve::last_segment --- 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