From: fred Date: Tue, 31 Dec 1996 23:00:01 +0000 (+0000) Subject: lilypond-0.0.32 X-Git-Tag: release/1.5.59~6456 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a61b5f45601880762d4cf605034541e93daa259c;p=lilypond.git lilypond-0.0.32 --- diff --git a/hdr/boxes.hh b/hdr/boxes.hh index d817dc42e8..22a2eec3a5 100644 --- a/hdr/boxes.hh +++ b/hdr/boxes.hh @@ -9,14 +9,16 @@ #include "real.hh" #include "interval.hh" #include "offset.hh" + /// a square subset of Real^2 struct Box { Interval x, y; - + void translate(Offset o) { x.translate(o.x); y.translate(o.y); } + /// smallest box enclosing #b# void unite(Box b) { x.unite(b.x); y.unite(b.y);