LEFT | RIGHT |
(no file at all) | |
1 ;;;; This file is part of LilyPond, the GNU music typesetter. | 1 ;;;; This file is part of LilyPond, the GNU music typesetter. |
2 ;;;; | 2 ;;;; |
3 ;;;; Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> | 3 ;;;; Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> |
4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 ;;;; | 5 ;;;; |
6 ;;;; LilyPond is free software: you can redistribute it and/or modify | 6 ;;;; LilyPond is free software: you can redistribute it and/or modify |
7 ;;;; it under the terms of the GNU General Public License as published by | 7 ;;;; it under the terms of the GNU General Public License as published by |
8 ;;;; the Free Software Foundation, either version 3 of the License, or | 8 ;;;; the Free Software Foundation, either version 3 of the License, or |
9 ;;;; (at your option) any later version. | 9 ;;;; (at your option) any later version. |
10 ;;;; | 10 ;;;; |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 ;; side-position stuff | 236 ;; side-position stuff |
237 | 237 |
238 (define-public (only-if-beamed g) | 238 (define-public (only-if-beamed g) |
239 (any (lambda (x) (ly:grob? (ly:grob-object x 'beam))) | 239 (any (lambda (x) (ly:grob? (ly:grob-object x 'beam))) |
240 (ly:grob-array->list (ly:grob-object g 'side-support-elements)))) | 240 (ly:grob-array->list (ly:grob-object g 'side-support-elements)))) |
241 | 241 |
242 (define-public side-position-interface::y-aligned-side | 242 (define-public side-position-interface::y-aligned-side |
243 (ly:make-unpure-pure-container | 243 (ly:make-unpure-pure-container |
244 ly:side-position-interface::y-aligned-side | 244 ly:side-position-interface::y-aligned-side |
245 ly:side-position-interface::pure-y-aligned-side)) | 245 ly:side-position-interface::pure-y-aligned-side)) |
| 246 |
| 247 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 248 ;; outside-staff stuff |
| 249 |
| 250 (define-public outside-staff-interface::y-aligned-side |
| 251 (ly:make-unpure-pure-container |
| 252 ly:outside-staff-interface::y-aligned-side |
| 253 ly:outside-staff-interface::pure-y-aligned-side)) |
| 254 |
| 255 (define-public side-position-outside-staff-y-aligned-side |
| 256 (ly:make-simple-closure |
| 257 (ly:make-simple-closure |
| 258 `(,outside-staff-interface::y-aligned-side |
| 259 ,(ly:make-simple-closure |
| 260 (list side-position-interface::y-aligned-side)))))) |
246 | 261 |
247 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 262 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
248 ;; self-alignment stuff | 263 ;; self-alignment stuff |
249 | 264 |
250 (define-public self-alignment-interface::y-aligned-on-self | 265 (define-public self-alignment-interface::y-aligned-on-self |
251 (ly:make-unpure-pure-container | 266 (ly:make-unpure-pure-container |
252 ly:self-alignment-interface::y-aligned-on-self | 267 ly:self-alignment-interface::y-aligned-on-self |
253 ly:self-alignment-interface::pure-y-aligned-on-self)) | 268 ly:self-alignment-interface::pure-y-aligned-on-self)) |
254 | 269 |
255 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 270 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1301 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1287 ;; volta-bracket | 1302 ;; volta-bracket |
1288 | 1303 |
1289 (define-public (volta-bracket-interface::pure-height grob start end) | 1304 (define-public (volta-bracket-interface::pure-height grob start end) |
1290 (let ((edge-height (ly:grob-property grob 'edge-height))) | 1305 (let ((edge-height (ly:grob-property grob 'edge-height))) |
1291 (if (number-pair? edge-height) | 1306 (if (number-pair? edge-height) |
1292 (let ((smaller (min (car edge-height) (cdr edge-height))) | 1307 (let ((smaller (min (car edge-height) (cdr edge-height))) |
1293 (larger (max (car edge-height) (cdr edge-height)))) | 1308 (larger (max (car edge-height) (cdr edge-height)))) |
1294 (interval-union '(0 . 0) (cons smaller larger))) | 1309 (interval-union '(0 . 0) (cons smaller larger))) |
1295 '(0 . 0)))) | 1310 '(0 . 0)))) |
LEFT | RIGHT |