diff options
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/curve.cpp | 4 |
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 |
