]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-path.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / markup-path.ly
1 \version "2.14.0"
2
3 \header {
4   texidoc = "
5 The @code{\\path} markup command allows the user to draw
6 arbitrary paths using a simple syntax.  The two paths below
7 should be identical.
8 "
9 }
10
11 \markup {
12   \column {
13     \path #0.2 #'((moveto 1 1)
14                   (lineto 1 6)
15                   (curveto 3 8 5 6 1 1)
16                   (closepath))
17
18     \path #0.2 #'((rmoveto 1 1)
19                   (rlineto 0 5)
20                   (rcurveto 2 2 4 0 0 -5)
21                   (closepath))
22   }
23 }