]> git.donarmstrong.com Git - lilypond.git/commit
* lily/note-head.cc (calc_stem_attachment): new function.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 16 Oct 2005 13:52:42 +0000 (13:52 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 16 Oct 2005 13:52:42 +0000 (13:52 +0000)
commit1f4ae685939466899fdf85121a58801c867f9381
treea05856cb7cf6aa19e58542c7b59dedbc73232c8f
parent85d8b50f9d36b3f2d38aa11de3755cf563ac49e3
* lily/note-head.cc (calc_stem_attachment): new function.
(internal_print): use callback to get glyph-name.

* lily/stem.cc (calc_stem_end_position): new function.
(calc_length): new function.
document details for stem.
remove Stem::get_direction()

* lily/bar-line.cc (before_line_breaking): remove function.
remove bar-size-procedure, break-glyph-function

* lily/grob.cc (get_stencil): simplify: use callback mechanism to
calculate stencil.
(get_print_stencil): rename from get_stencil: create stencil with
transparency, color and cause.

* scm/define-grobs.scm: change print-function to stencil callback everywhere.

* lily/grob.cc: elucidate doc about after/before-line-breaking

* lily/stem.cc (height): idem.

* lily/grob.cc: change after/before-line-breaking-callback to
after/before-line-breaking dummy properties.

* lily/grob.cc (other_axis_parent_positioning): new function.
(same_axis_parent_positioning): new function

* lily/stem.cc (calc_stem_end_position): use callback.
(calc_positioning_done): idem.
(calc_direction): idem.
(calc_stem_end_position): idem
(calc_stem_info): idem.

* scm/define-grob-properties.scm (all-user-grob-properties): doc
callbacks property.
20 files changed:
input/regression/arpeggio-bracket.ly
input/regression/arpeggio-collision.ly
input/regression/arpeggio.ly
input/regression/auto-beam-bar.ly
input/regression/auto-beam-no-beam.ly
input/regression/auto-beam-triplet.ly
input/regression/auto-beam-tuplets.ly
input/regression/auto-beam.ly
input/regression/auto-change.ly
input/regression/backend-excercise.ly
lily/bar-line.cc
lily/grob.cc
lily/include/note-head.hh
lily/ligature-engraver.cc
lily/line-spanner.cc
lily/note-head.cc
lily/stem.cc
scm/define-grob-properties.scm
scm/define-grobs.scm
scm/output-lib.scm