/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1998--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1998--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
&& total_off * dir < minimum_space)
total_off = minimum_space * dir;
-
if (current_offset)
total_off = dir * max (dir * total_off,
dir * (*current_offset));
Direction dir = get_grob_direction (me);
Box off;
- Real my_min_h = dir == LEFT ? -infinity_f : infinity_f;
for (Axis ax = X_AXIS; ax < NO_AXES; incr (ax))
{
if (ax == a)
if (off[X_AXIS].is_empty () || off[Y_AXIS].is_empty ())
return scm_from_double (0.0);
- my_min_h = off[a][dir];
-
Real skyline_padding = 0.1;
Skyline my_dim (off, skyline_padding, other_axis (a), -dir);
- my_dim.set_minimum_height (my_min_h);
bool include_staff
= staff_symbol