summaryrefslogtreecommitdiffstats
path: root/src/display/curve.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-14 20:29:26 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-14 20:29:26 +0000
commitcee992a7ad51b04ab00dc811f7e86422c00edc50 (patch)
treec767f1c95d4619141da721cabf7d73f6d1850540 /src/display/curve.cpp
parentfix check for empty path for draw-context (diff)
downloadinkscape-cee992a7ad51b04ab00dc811f7e86422c00edc50.tar.gz
inkscape-cee992a7ad51b04ab00dc811f7e86422c00edc50.zip
noop: add comment about multiple consecutive movetos
(bzr r6305)
Diffstat (limited to 'src/display/curve.cpp')
-rw-r--r--src/display/curve.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp
index e10ebcb32..768b44c10 100644
--- a/src/display/curve.cpp
+++ b/src/display/curve.cpp
@@ -445,7 +445,9 @@ SPCurve::reset()
_pathv.clear();
}
-/* Several consecutive movetos are ALLOWED */
+/** Several consecutive movetos are ALLOWED
+ * Ref: http://www.w3.org/TR/SVG11/implnote.html#PathElementImplementationNotes
+ * (first subitem of the item about zero-length path segments) */
/**
* Calls SPCurve::moveto() with point made of given coordinates.