Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(31)

Side by Side Diff: scm/define-grobs.scm

Issue 571180043: Implement MeasureSpanner
Patch Set: Created 5 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
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--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> 3 ;;;; Copyright (C) 1998--2019 Han-Wen Nienhuys <hanwen@xs4all.nl>
4 ;;;; Jan Nieuwenhuizen <janneke@gnu.org> 4 ;;;; Jan Nieuwenhuizen <janneke@gnu.org>
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 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 (X-align-on-main-noteheads . #t) 1443 (X-align-on-main-noteheads . #t)
1444 (X-offset . ,ly:self-alignment-interface::aligned-on-x-parent) 1444 (X-offset . ,ly:self-alignment-interface::aligned-on-x-parent)
1445 (Y-extent . ,grob::always-Y-extent-from-stencil) 1445 (Y-extent . ,grob::always-Y-extent-from-stencil)
1446 (meta . ((class . Item) 1446 (meta . ((class . Item)
1447 (interfaces . (font-interface 1447 (interfaces . (font-interface
1448 lyric-syllable-interface 1448 lyric-syllable-interface
1449 rhythmic-grob-interface 1449 rhythmic-grob-interface
1450 self-alignment-interface 1450 self-alignment-interface
1451 text-interface)))))) 1451 text-interface))))))
1452 1452
1453 (MeasureAttachedSpanner
1454 . (
1455 (connect-to-neighbor . ,ly:measure-attached-spanner::calc-connect-to-nei ghbors)
1456 (direction . ,UP)
1457 ;(font-size . -2)
thomasmorley651 2019/11/16 14:42:02 Mmh, this is commented. Why? Same below.
david.nalesnik 2019/11/21 17:32:16 Just some test code. Removed.
1458 (edge-height . (0.7 . 0.7))
1459 ;(outside-staff-horizontal-padding . 0.5)
1460 (outside-staff-priority . 750)
1461 (self-alignment-X . ,CENTER)
1462 (side-axis . ,Y)
1463 (staff-padding . 0.5)
1464 (stencil . ,ly:measure-attached-spanner::print)
1465 (Y-offset . ,side-position-interface::y-aligned-side)
1466 (meta . ((class . Spanner)
1467 (interfaces . (font-interface
1468 measure-attached-spanner-interface
1469 line-interface
1470 outside-staff-interface
1471 self-alignment-interface
1472 side-position-interface
1473 text-interface))))))
1474
1453 (MeasureCounter 1475 (MeasureCounter
1454 . ( 1476 . (
1455 (count-from . 1) 1477 (count-from . 1)
1456 (direction . ,UP) 1478 (direction . ,UP)
1457 (font-encoding . fetaText) 1479 (font-encoding . fetaText)
1458 (font-size . -2) 1480 (font-size . -2)
1459 (outside-staff-horizontal-padding . 0.5) 1481 (outside-staff-horizontal-padding . 0.5)
1460 (outside-staff-priority . 750) 1482 (outside-staff-priority . 750)
1461 (self-alignment-X . ,CENTER) 1483 (self-alignment-X . ,CENTER)
1462 (side-axis . ,Y) 1484 (side-axis . ,Y)
(...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after
2888 ;; make sure that \property Foo.Bar =\turnOff doesn't complain 2910 ;; make sure that \property Foo.Bar =\turnOff doesn't complain
2889 2911
2890 (for-each (lambda (x) 2912 (for-each (lambda (x)
2891 ;; (display (car x)) (newline) 2913 ;; (display (car x)) (newline)
2892 2914
2893 (set-object-property! (car x) 'translation-type? ly:grob-properties? ) 2915 (set-object-property! (car x) 'translation-type? ly:grob-properties? )
2894 (set-object-property! (car x) 'is-grob? #t)) 2916 (set-object-property! (car x) 'is-grob? #t))
2895 all-grob-descriptions) 2917 all-grob-descriptions)
2896 2918
2897 (set! all-grob-descriptions (sort all-grob-descriptions alist<?)) 2919 (set! all-grob-descriptions (sort all-grob-descriptions alist<?))
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b