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