diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-07 09:17:41 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-07 09:17:41 +0000 |
| commit | 9a35407253611aa5b7cbb177f9da7ed640a8aa68 (patch) | |
| tree | e69d1ef234213ec81da0ac356cc792e4f704463e /src/display/curve.cpp | |
| parent | clean up matrix transform svg-write function (diff) | |
| download | inkscape-9a35407253611aa5b7cbb177f9da7ed640a8aa68.tar.gz inkscape-9a35407253611aa5b7cbb177f9da7ed640a8aa68.zip | |
improve documentation of SPCurve::last_segment
(bzr r6203)
Diffstat (limited to 'src/display/curve.cpp')
| -rw-r--r-- | src/display/curve.cpp | 5 |
1 files 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 |
