]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/box.hh
Makes all side-positioning based on skylines instead of boxes.
[lilypond.git] / lily / include / box.hh
index ab0d3f5300b614211adf9c8f0a18a91f2e3e686c..63224f2f880debeb58567524dfb7dac51e1ae6a4 100644 (file)
@@ -21,6 +21,7 @@ public:
   Interval operator [] (Axis a) const;
   Interval &operator [] (Axis a);
   Real area () const;
+  bool is_empty () const;
 
   Offset center () const;
 
@@ -32,6 +33,7 @@ public:
   void widen (Real x, Real y);
   void scale (Real r);
   void unite (Box b);
+  void intersect (Box b);
   void print ();
   Box ();
   Box (Interval ix, Interval iy);