]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-stencil-commands.scm
Merge branch 'hwn' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[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        embedded-ps
21        glyph-string
22        named-glyph
23        path
24        polygon
25        repeat-slash
26        resetcolor
27        round-filled-box
28        setcolor
29        text
30        url-link
31        utf-8-string
32        white-dot
33        white-text
34        zigzag-line
35
36        grob-cause
37        no-origin
38        placebox
39        unknown
40
41        delay-stencil-evaluation
42        ))
43
44 ;; TODO:
45 ;;  - generate this list by registering the output-backend-commands
46 ;;    output-backend-commands should have docstrings.
47 ;;  - remove hard copies in output-ps output-tex
48
49 (define-public (ly:all-output-backend-commands)
50   "Return list of output backend commands."
51   '(combine-stencil
52     color
53     translate-stencil))
54
55 (map ly:register-stencil-expression (ly:all-output-backend-commands))