;;;;
;;;; source file of the GNU LilyPond music typesetter
;;;;
-;;;; (c) 2000--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+;;;; (c) 2000--2006 Jan Nieuwenhuizen <janneke@gnu.org>
;;;;
(define ((check-beam-quant posl posr) beam posns)
"
(let* ((thick (ly:grob-property beam 'thickness))
(layout (ly:grob-layout beam))
- (lthick (ly:output-def-lookup layout 'linethickness))
+ (lthick (ly:output-def-lookup layout 'line-thickness))
(staff-thick lthick) ; fixme.
(quant->coord (lambda (p q)
(if (= 2 (abs q))
posns
))
+
(define ((check-beam-slope-sign comparison) beam posns)
"Check whether the slope of BEAM is correct wrt. COMPARISON."
(let* ((slope-sign (- (cdr posns) (car posns)))
(define-public (check-quant-callbacks l r)
- (list Beam::calc_least_squares_positions
- Beam::slope_damping
- Beam::shift_region_to_valid
- Beam::quanting
- Beam::set_stem_lengths
+ (list ly:beam::calc-least-squares-positions
+ ly:beam::slope-damping
+ ly:beam::shift-region-to-valid
+ ly:beam::quanting
(check-beam-quant l r)
))
-
(define-public (check-slope-callbacks comparison)
- (list Beam::calc_least_squares_positions
- Beam::slope_damping
- Beam::shift_region_to_valid
- Beam::quanting
- Beam::set_stem_lengths
+ (list ly:beam::calc-least-squares-positions
+ ly:beam::slope-damping
+ ly:beam::shift-region-to-valid
+ ly:beam::quanting
(check-beam-slope-sign comparison)
))
+