System::clone (int count) const
{
return new System (*this, count);
}
System::clone (int count) const
{
return new System (*this, count);
}
fixup_refpoints (get_property ("all-elements"));
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
fixup_refpoints (get_property ("all-elements"));
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
/* Because the this->get_property (all-elements) contains items in 3
versions, handle_broken_dependencies () will leave duplicated
items in all-elements. Strictly speaking this is harmless, but
/* Because the this->get_property (all-elements) contains items in 3
versions, handle_broken_dependencies () will leave duplicated
items in all-elements. Strictly speaking this is harmless, but
int line_count = broken_intos_.size ();
SCM lines = scm_c_make_vector (line_count, SCM_EOL);
int line_count = broken_intos_.size ();
SCM lines = scm_c_make_vector (line_count, SCM_EOL);
system->set_bound (LEFT, c[0]);
system->set_bound (RIGHT, c.top ());
for (int j = 0; j < c.size (); j++)
{
c[j]->translate_axis (breaking[i].config_[j], X_AXIS);
system->set_bound (LEFT, c[0]);
system->set_bound (RIGHT, c.top ());
for (int j = 0; j < c.size (); j++)
{
c[j]->translate_axis (breaking[i].config_[j], X_AXIS);
}
set_loose_columns (system, &breaking[i]);
broken_intos_.push (system);
}
set_loose_columns (system, &breaking[i]);
broken_intos_.push (system);
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
unsmob_grob (scm_car (s))->handle_prebroken_dependencies ();
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
unsmob_grob (scm_car (s))->handle_prebroken_dependencies ();
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
apply_tweaks (unsmob_grob (scm_car (s)), false);
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
apply_tweaks (unsmob_grob (scm_car (s)), false);
Grob *sc = unsmob_grob (scm_car (s));
sc->calculate_dependencies (PRECALCED, PRECALCING, ly_symbol2scm ("before-line-breaking-callback"));
}
Grob *sc = unsmob_grob (scm_car (s));
sc->calculate_dependencies (PRECALCED, PRECALCING, ly_symbol2scm ("before-line-breaking-callback"));
}
progress_indication (" ");
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
{
progress_indication (" ");
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
{
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
{
Grob *g = unsmob_grob (scm_car (s));
for (SCM s = get_property ("all-elements"); scm_is_pair (s); s = scm_cdr (s))
{
Grob *g = unsmob_grob (scm_car (s));
/* Generate all stencils to trigger font loads.
This might seem inefficient, but Stencils are cached per grob
anyway. */
/* Generate all stencils to trigger font loads.
This might seem inefficient, but Stencils are cached per grob
anyway. */
/* Output stencils in three layers: 0, 1, 2. Default layer: 1. */
SCM all = get_property ("all-elements");
/* Output stencils in three layers: 0, 1, 2. Default layer: 1. */
SCM all = get_property ("all-elements");
st.translate (o + extra);
*tail = scm_cons (st.expr (), SCM_EOL);
st.translate (o + extra);
*tail = scm_cons (st.expr (), SCM_EOL);
- {
- Grob *g = unsmob_grob (scm_car (s));
- staff_refpoints.add_point (g->relative_coordinate (this, Y_AXIS));
- }
-
-
+ {
+ Grob *g = unsmob_grob (scm_car (s));
+ staff_refpoints.add_point (g->relative_coordinate (this, Y_AXIS));
+ }
+
Paper_system *pl = new Paper_system (sys_stencil, false);
pl->staff_refpoints_ = staff_refpoints;
Paper_system *pl = new Paper_system (sys_stencil, false);
pl->staff_refpoints_ = staff_refpoints;
- Item * break_point = this->get_bound(LEFT);
- pl->break_before_penalty_ =
- robust_scm2double (break_point->get_property ("page-penalty"), 0.0);
-
+ Item *break_point = this->get_bound (LEFT);
+ pl->break_before_penalty_
+ = robust_scm2double (break_point->get_property ("page-penalty"), 0.0);
+
ADD_INTERFACE (System, "system-interface",
"This is the toplevel object: each object in a score "
"ultimately has a System object as its X and Y parent. ",
ADD_INTERFACE (System, "system-interface",
"This is the toplevel object: each object in a score "
"ultimately has a System object as its X and Y parent. ",