X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Flayout-beam.scm;h=254f7154971820b719e864681a772c5bc2fdcd04;hb=92190ad98deac78cf32837078741296205072119;hp=040421a98bdc90cdfa426ac38847abc61f7fbca9;hpb=0387f04497978e37b335a8b99eec905499d6ad0f;p=lilypond.git diff --git a/scm/layout-beam.scm b/scm/layout-beam.scm index 040421a98b..254f715497 100644 --- a/scm/layout-beam.scm +++ b/scm/layout-beam.scm @@ -1,17 +1,26 @@ +;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; beam.scm -- Beam scheme stuff +;;;; Copyright (C) 2000--2010 Jan Nieuwenhuizen ;;;; -;;;; source file of the GNU LilyPond music typesetter -;;;; -;;;; (c) 2000--2008 Jan Nieuwenhuizen +;;;; LilyPond is free software: you can redistribute it and/or modify +;;;; it under the terms of the GNU General Public License as published by +;;;; the Free Software Foundation, either version 3 of the License, or +;;;; (at your option) any later version. ;;;; +;;;; LilyPond is distributed in the hope that it will be useful, +;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;;; GNU General Public License for more details. +;;;; +;;;; You should have received a copy of the GNU General Public License +;;;; along with LilyPond. If not, see . (define ((check-beam-quant posl posr) beam posns) "Check whether BEAM has POSL and POSR quants. POSL are (POSITION . QUANT) pairs, where QUANT is -1 (hang), 0 (center), 1 (sit) or -2/ 2 (inter) " - (let* ((thick (ly:grob-property beam 'thickness)) + (let* ((thick (ly:grob-property beam 'beam-thickness)) (layout (ly:grob-layout beam)) (lthick (ly:output-def-lookup layout 'line-thickness)) (staff-thick lthick) ; fixme.