]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/box.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / box.cc
index 93356ac4827fa9e0f8b091534bd9e5cbcd3edf24..5201ca125c922f72f9fea94f9cb712eba896f3db 100644 (file)
@@ -6,7 +6,10 @@
   (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
+#include "ly-smobs.icc"
+
 #include "box.hh"
+#include "std-vector.hh"
 
 void
 Box::translate (Offset o)
@@ -22,6 +25,9 @@ Box::unite (Box b)
     interval_a_[i].unite (b[i]);
 }
 
+/**
+   Initialize to empty.
+*/
 Box::Box ()
 {
 }
@@ -79,10 +85,6 @@ Box::widen (Real x, Real y)
   interval_a_[Y_AXIS].widen (y);
 }
 
-/****************************************************************/
-
-#include "ly-smobs.icc"
-
 IMPLEMENT_SIMPLE_SMOBS (Box);
 IMPLEMENT_TYPE_P (Box, "ly:box?");
 IMPLEMENT_DEFAULT_EQUAL_P (Box);