]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-path-linejoin.ly
Add regression tests for \path markup command.
[lilypond.git] / input / regression / markup-path-linejoin.ly
1 \version "2.13.31"
2
3 \header {
4   texidoc = "
5 The @code{\\path} markup command supports the
6 @code{line-join-style} property with values of @code{bevel},
7 @code{round}, and @code{miter}.
8 "
9 }
10
11 myPath =
12 #'((moveto 0 0) (rlineto 2 5) (rlineto 2 -5))
13
14 \markup {
15   \column {
16     \null
17     \override #'(line-join-style . bevel) {
18       \path #1 #myPath
19     }
20     \override #'(line-join-style . round) {
21       \path #1 #myPath
22     }
23     \override #'(line-join-style . miter) {
24       \path #1 #myPath
25     }
26   }
27 }