LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Tie_column::add_tie (Grob *tc, Grob *tie)
{
Spanner *me = dynamic_cast<Spanner *> (tc);
Tie_column::add_tie (Grob *tc, Grob *tie)
{
Spanner *me = dynamic_cast<Spanner *> (tc);
if (tie->get_parent (Y_AXIS)
&& Tie_column::has_interface (tie->get_parent (Y_AXIS)))
return;
if (!me->get_bound (LEFT)
|| (Paper_column::get_rank (me->get_bound (LEFT)->get_column ())
if (tie->get_parent (Y_AXIS)
&& Tie_column::has_interface (tie->get_parent (Y_AXIS)))
return;
if (!me->get_bound (LEFT)
|| (Paper_column::get_rank (me->get_bound (LEFT)->get_column ())
- me->set_bound (LEFT, Tie::head (tie, LEFT));
- me->set_bound (RIGHT, Tie::head (tie, RIGHT));
+ me->set_bound (LEFT, Tie::head (tie, LEFT));
+ me->set_bound (RIGHT, Tie::head (tie, RIGHT));
tie->set_parent (me, Y_AXIS);
Pointer_group_interface::add_grob (me, ly_symbol2scm ("ties"), tie);
}
tie->set_parent (me, Y_AXIS);
Pointer_group_interface::add_grob (me, ly_symbol2scm ("ties"), tie);
}
- {
- if (dir * tie->get_bound (dir)->get_column ()->get_rank ()
- > dir * me->get_bound (dir)->get_column ()->get_rank ())
- me->set_bound (dir, Tie::head (tie, dir));
- }
+ {
+ if (dir * tie->get_bound (dir)->get_column ()->get_rank ()
+ > dir * me->get_bound (dir)->get_column ()->get_rank ())
+ me->set_bound (dir, Tie::head (tie, dir));
+ }
{
Grob *me = unsmob_grob (smob);
extract_grob_set (me, "ties", ro_ties);
{
Grob *me = unsmob_grob (smob);
extract_grob_set (me, "ties", ro_ties);
vector_sort (ties, Tie::less);
Tie_formatting_problem problem;
vector_sort (ties, Tie::less);
Tie_formatting_problem problem;
SCM manual_configs = me->get_property ("tie-configuration");
problem.set_manual_tie_configuration (manual_configs);
SCM manual_configs = me->get_property ("tie-configuration");
problem.set_manual_tie_configuration (manual_configs);
for (vsize i = 0; i < base.size (); i++)
{
SCM cp = Tie::get_control_points (ties[i], problem.common_x_refpoint (),
for (vsize i = 0; i < base.size (); i++)
{
SCM cp = Tie::get_control_points (ties[i], problem.common_x_refpoint (),
ties[i]->set_property ("control-points", cp);
set_grob_direction (ties[i],
ties[i]->set_property ("control-points", cp);
set_grob_direction (ties[i],