]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/box.hh
Imported Upstream version 2.16.0
[lilypond.git] / lily / include / box.hh
index baa4ce0b7645791bd993f0a3b204d3f0a9c8f8e1..af5695b3bce8f64978a623c4d16b56dea054b7a4 100644 (file)
@@ -15,9 +15,9 @@ class Box
   DECLARE_SIMPLE_SMOBS (Box);
 public:
   Interval &x () {return interval_a_[X_AXIS]; }
-  Interval &y (){ return interval_a_[Y_AXIS]; }
-  Interval x () const{ return interval_a_[X_AXIS]; }
-  Interval y () const{return interval_a_[Y_AXIS]; }
+  Interval &y () { return interval_a_[Y_AXIS]; }
+  Interval x () const { return interval_a_[X_AXIS]; }
+  Interval y () const {return interval_a_[Y_AXIS]; }
   Interval operator [] (Axis a) const;
   Interval &operator [] (Axis a);
 
@@ -31,6 +31,7 @@ public:
   void widen (Real x, Real y);
   void scale (Real r);
   void unite (Box b);
+  void print ();
   Box ();
   Box (Interval ix, Interval iy);
 };