]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-path.ly
resolve merge
[lilypond.git] / input / regression / markup-path.ly
diff --git a/input/regression/markup-path.ly b/input/regression/markup-path.ly
new file mode 100644 (file)
index 0000000..dd5976f
--- /dev/null
@@ -0,0 +1,23 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "
+The @code{\\path} markup command allows the user to draw
+arbitrary paths using a simple syntax.  The two paths below
+should be identical.
+"
+}
+
+\markup {
+  \column {
+    \path #0.2 #'((moveto 1 1)
+                 (lineto 1 6)
+                 (curveto 3 8 5 6 1 1)
+                 (closepath))
+
+    \path #0.2 #'((rmoveto 1 1)
+                 (rlineto 0 5)
+                 (rcurveto 2 2 4 0 0 -5)
+                 (closepath))
+  }
+}