/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
}
Real end_y
- = stem->extent (stem, Y_AXIS)[stemdir]
+ = (pure
+ ? stem->pure_height (stem, 0, INT_MAX)[stemdir]
+ : stem->extent (stem, Y_AXIS)[stemdir])
- stemdir * max (beam_count, 1) * beam_translation
- Stem::beam_end_corrective (stem);