p->rank_i_ = prev ? Paper_column::rank_i (prev) + 1 : 0;
-
-
me->set_grob_property ("columns", gh_cons (p->self_scm (), cs));
Axis_group_interface::add_element (me, p);
|| bounds[LEFT]->line_l () != bounds[RIGHT]->line_l ())
{
programming_error ("bounds of spanner are invalid");
-#if 0
- /*
- lily crashes upon displaying this ...
-
- */
-
- gh_display (ly_str02scm ("\nspanner:mutable_property_alist_\n"));
- gh_display (mutable_property_alist_);
- gh_display (ly_str02scm ("\nspanner:immutable_property_alist_\n"));
- gh_display (immutable_property_alist_);
- gh_newline ();
-#endif
span_p->suicide ();
}
else
return spanned_drul_ [d];
}
+/*
+ Set the items that this spanner spans. If D == LEFT, we also set the
+ X-axis parent of THIS to S.
+*/
void
Spanner::set_bound(Direction d, Grob*s)
{
}
}
-
Spanner::Spanner (SCM s)
: Grob (s)
{
spanned_drul_[LEFT] = spanned_drul_[RIGHT] =0;
}
-
Real
Spanner::spanner_length() const
{
Grob* p2 = unsmob_grob (gh_cdr (pair));
sp->set_bound (LEFT,p1);
sp->set_bound (RIGHT, p2);
-
- //extra precaution.
}