summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 199c7ed)
raw | patch | inline | side by side (parent: 199c7ed)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 3 Jul 2008 20:23:49 +0000 (20:23 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 3 Jul 2008 20:23:49 +0000 (20:23 +0000) |
src/display/curve.cpp | patch | blob | history |
diff --git a/src/display/curve.cpp b/src/display/curve.cpp
index 5dca3c00f9d5a178bbc62cfafbda59aa274f08c2..1d3a3b1d55dc321aac92a44e373e0b5489aa24af 100644 (file)
--- a/src/display/curve.cpp
+++ b/src/display/curve.cpp
/**
* 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