]> git.donarmstrong.com Git - lilypond.git/commit
Add ly:staff-symbol-line-thickness Scheme-callback, returning line thickness
authorReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 11 Sep 2008 20:20:59 +0000 (22:20 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 21 Sep 2008 14:15:34 +0000 (16:15 +0200)
commit37319a0900a937282a04fa433bc0c62d234f7128
tree03942ab2d3bbb2d2c25addfb70a159206f311b82
parent48efbd3b5887119656de0a910ade07300524e76c
Add ly:staff-symbol-line-thickness Scheme-callback, returning line thickness

-) Add a callback ly:staff-symbol-line-thickness in staff-symbol-referencer-scheme,
   which simply gives you a Scheme interface to
       Staff_symbol_referencer::line_thickness (g)
-) Use this to shift inverted flags in the flags-in-scheme test case
   by the stem-width (the 'thickness grob property of the stem is given
   in units of the line-thickness!), so the flags really attach to the
   left edge of the stem
input/regression/flags-in-scheme.ly
lily/staff-symbol-referencer-scheme.cc
scm/safe-lily.scm