]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/box.cc
* input/regression/balloon.ly: new file.
[lilypond.git] / lily / box.cc
index efed2217b57af21b1d870e0e11a95d90d44a17b8..fc85114c59b24373d2d8a5836604bdcfb2015f6e 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1996--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "box.hh"
@@ -75,3 +75,10 @@ Box::center () const
   return Offset (interval_a_[X_AXIS].center(),
                 interval_a_[Y_AXIS].center()); 
 }
+void
+Box::widen (Real x, Real y)
+{
+  interval_a_[X_AXIS].widen (x);
+  interval_a_[Y_AXIS].widen (y);
+  
+}