* ly/engraver-init.ly (AncientRemoveEmptyStaffContext): use length-fraction.
* lily/stem.cc (calc_length): multiply with length_fraction. Makes
for easier grace tweaks.
* lily/beam.cc: remove dir-function.
* lily/system.cc (pre_processing): use callback to trigger spacing procedures.
* lily/grob.cc: remove spacing-procedure.
* 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/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.