As I know the stencil callback is unfortunately C code. So the valid
styles are only present in the C sources.
That's a drawback of the current documentation system.
Bert
Valentin Villenave wrote:
An additional question: are the spanner styles documented anywhere?
When I tried to answer Haipeng on -user, I browsed the Internals
Reference but couldn't find anything else than:
style (symbol):
'line
This setting determines in what style a grob is typeset. Valid
choices depend on the stencil callback reading this property.
So I browsed the source files, trying to get a list of possible
stencil callbacks; I found these in define-sencil-commands.scm:
(map ly:register-stencil-expression
'(beam
bezier-sandwich
blank
bracket
char
circle
dashed-line
dashed-slur
dot
draw-line
embedded-ps
glyph-string
named-glyph
path
polygon
repeat-slash
resetcolor
round-filled-box
setcolor
text
url-link
utf-8-string
white-dot
white-text
zigzag-line
grob-cause
no-origin
placebox
unknown
delay-stencil-evaluation
))
I can't say I have any idea of to use them. I looked in output-ps.scm,
but that didn't really help. Can anyone help me to document it? I
can't wait to see how a "bezier-sandwich" looks like! :)
Cheers,
Valentin
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel