From c4e7fc59a101cee424a93be9ba4008bf1ae934c1 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:58:59 +0000 Subject: [PATCH] lilypond-0.1.18 --- NEWS | 32 ++++++++++++++++++++++++++++++-- lily/boxes.cc | 25 +++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 296386883b..72917102fb 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,38 @@ + +pl 18 + - bf: Box[X_AXIS] = b + - sharp sign, natural sign + - linethickness parametric + - bin/mf-deps.py script + - split into size/generic mf-files + - moved beams out of font-en-tja into vette-beams. + - Made corresponding .cc changes. + + +jcn patches + - egcs compile (no link yet) + - nicer 4rest + - beam font (je kunt wel tegen een grapje, eva?) + - mf-to-table: + * "breapth" (x-depth) feature + * handle generic stuff such as beams + - polished noteheads + - fixed 8-128 rests + - 4rest + - mf-to-table generates tex defs + - bf:mf-to-table and conflily outname check + - 8-128 rests + +****** +sep 24 + pl 17 - bf: ledgerline width - bf: toccata-fuga-E - took out some hardwiring of tex-beam -pl 16.jcn2 - - mf-to-table.in: generate mozarella metric info tables +pl 16.jcn1 + - mf-to-table.in: generate mozarella metric info tables - autometric.mf: write metric info to mf logfile - ital-r.mf, smaller ital-m.mf - variable streepjes length (top/bottomlines); fixed (for 20pt?) diff --git a/lily/boxes.cc b/lily/boxes.cc index 1bf7177336..28fdeade83 100644 --- a/lily/boxes.cc +++ b/lily/boxes.cc @@ -9,9 +9,23 @@ #include "boxes.hh" #include "varray.hh" +void +Box::translate (Offset o) +{ + x().translate (o.x ()); + y().translate (o.y ()); +} + +void +Box::unite (Box b) +{ + x().unite (b.x ()); + y().unite (b.y ()); +} Box::Box() { + } Box::Box (Interval ix, Interval iy) @@ -20,3 +34,14 @@ Box::Box (Interval ix, Interval iy) y() = iy; } +Interval & +Box::operator[] (Axis a) +{ + return interval_a_[a]; +} + +Interval +Box::operator[] (Axis a)const +{ + return interval_a_[a]; +} -- 2.39.5