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