]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-spacing.cc
New page breaking function: ly:minimal-breaking, which first computes
[lilypond.git] / lily / page-spacing.cc
index fa1c273f370658b725e9a396a9fe06eb08627665..82a037bde57c1c2f2d791c6ebe96053b2f238002 100644 (file)
@@ -23,6 +23,13 @@ Page_spacing::calc_force ()
       / max (0.1, inverse_spring_k_);
 }
 
+void
+Page_spacing::resize (Real new_height)
+{
+  page_height_ = new_height;
+  calc_force ();
+}
+
 void
 Page_spacing::append_system (const Line_details &line)
 {