]> git.donarmstrong.com Git - lilypond.git/commit - lily/note-column.cc
Uses a heuristic to determine if chord tremolos collide with accidentals.
authorMike Solomon <mike@apollinemike.com>
Fri, 31 Aug 2012 07:27:17 +0000 (09:27 +0200)
committerMike Solomon <mike@apollinemike.com>
Fri, 31 Aug 2012 07:27:17 +0000 (09:27 +0200)
commitd8dfa746ead381a80901106b9c9b079dc9b5d004
tree6b38c8583ef9dbae8da06f0302edc462e1692565
parent97b66b1443a8907763d0e6c5e3ee9c1834bb02b5
Uses a heuristic to determine if chord tremolos collide with accidentals.

This heuristic makes several assumptions about when a chord tremolo
will collide with accidentals. It must be between whole notes, it
must be in the staff, and it must be an ascending major third or lower.
The heuristic is entirely contained in Beam::whole_note_close_chord_tremolo,
which should be modified if other cases involving chord tremolos arise.
input/regression/chord-tremolo-accidental.ly [new file with mode: 0644]
lily/beam.cc
lily/include/beam.hh
lily/include/note-column.hh
lily/note-column.cc
lily/paper-column.cc
scm/define-grob-properties.scm
scm/define-grobs.scm