]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-stencil-commands.scm
9a5bed1a9e990e44dabd2efd2c6938a8ef867844
[lilypond.git] / scm / define-stencil-commands.scm
1 ;;
2 ;; define-stencil-commands.scm -- define valid stencil expression heads
3 ;;
4 ;; source file of the GNU LilyPond music typesetter
5 ;;
6 ;; (c) 2005--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 ;;
8
9 (map ly:register-stencil-expression
10      '(beam
11        bezier-sandwich
12        blank
13        bracket
14        char
15        circle
16        dashed-line
17        dashed-slur
18        dot
19        draw-line
20        ellipse
21        embedded-ps
22        glyph-string
23        named-glyph
24        path
25        polygon
26        repeat-slash
27        resetcolor
28        round-filled-box
29        setcolor
30        text
31        url-link
32        utf-8-string
33        white-dot
34        white-text
35        zigzag-line
36
37        grob-cause
38        no-origin
39        placebox
40        unknown
41
42        delay-stencil-evaluation
43        ))
44
45 ;; TODO:
46 ;;  - generate this list by registering the output-backend-commands
47 ;;    output-backend-commands should have docstrings.
48 ;;  - remove hard copies in output-ps output-tex
49
50 (define-public (ly:all-output-backend-commands)
51   "Return list of output backend commands."
52   '(combine-stencil
53     color
54     translate-stencil))
55
56 (map ly:register-stencil-expression (ly:all-output-backend-commands))