]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/skyline-pair.cc
Docs: move common files and factorize Texinfo macros
[lilypond.git] / lily / skyline-pair.cc
index 4ce44586d59f9bfd4f2885a03c8485167e61af3b..61573ee01d65508baaa592542597b91a491bd024 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2008 Han-Wen Nienhuys <hanwen@lilypond.org>
+  (c) 2008--2009 Han-Wen Nienhuys <hanwen@lilypond.org>
   
 */
 
@@ -54,6 +54,20 @@ Skyline_pair::merge (Skyline_pair const &other)
   skylines_[DOWN].merge (other[DOWN]);
 }
 
+void
+Skyline_pair::print () const
+{
+  skylines_[UP].print ();
+  skylines_[DOWN].print ();
+}
+
+void
+Skyline_pair::print_points () const
+{
+  skylines_[UP].print ();
+  skylines_[DOWN].print ();
+}
+
 
 bool
 Skyline_pair::is_empty () const
@@ -78,8 +92,6 @@ IMPLEMENT_SIMPLE_SMOBS (Skyline_pair);
 IMPLEMENT_TYPE_P (Skyline_pair, "ly:skyline-pair?");
 IMPLEMENT_DEFAULT_EQUAL_P (Skyline_pair);
 
-
-
 SCM
 Skyline_pair::mark_smob (SCM)
 {