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