]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-path-linecap.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / markup-path-linecap.ly
diff --git a/input/regression/markup-path-linecap.ly b/input/regression/markup-path-linecap.ly
new file mode 100644 (file)
index 0000000..aca5352
--- /dev/null
@@ -0,0 +1,26 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "
+The @code{\\path} markup command supports the
+@code{line-cap-style} property with values of @code{butt},
+@code{round}, and @code{square}.
+"
+}
+
+myPath =
+#'((moveto 0 0) (lineto 5 0))
+
+\markup {
+  \column {
+    \override #'(line-cap-style . butt) {
+      \path #1 #myPath
+    }
+    \override #'(line-cap-style . round) {
+      \path #1 #myPath
+    }
+    \override #'(line-cap-style . square) {
+      \path #1 #myPath
+    }
+  }
+}