]> git.donarmstrong.com Git - lilypond.git/commit - lily/stem-tremolo.cc
Better pure height approximations of stem tremolos.
authorMike Solomon <mike@apollinemike.com>
Mon, 29 Aug 2011 14:29:16 +0000 (16:29 +0200)
committerMike Solomon <mike@apollinemike.com>
Mon, 29 Aug 2011 14:33:07 +0000 (16:33 +0200)
commit7623fef74bf21fc726a8c60b535e7794f9776700
tree6d2caaeba80c850600f7fab08e3f02f7eff18a78
parent0a5b2f2630288ceff47bc6e0295aa9187648e326
Better pure height approximations of stem tremolos.

Before this patch, stem-tremolo pure heights wer always centered at
the offset of their Y parent (often 0), which means that tremolos
were not being considered correctly in horizontal spacing.  This
patch fixes that.  The regression test stem-tremolo-note-column.ly
now correctly checks for this - before, it only worked because flags
were combined with stems and created a Y-extent that overshot the
flag ending. Making more accurate flag extents broke this regression
test, and this patch rectifies it.
lily/include/stem-tremolo.hh
lily/stem-tremolo.cc
scm/define-grobs.scm