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

Delta Between Two Patch Sets: scm/define-grobs.scm

Issue 4661061: Adds glissando stems to Lilypond.
Left Patch Set: Creates new GlissandoStem grob. Created 13 years, 8 months ago
Right Patch Set: Merge with new stem code. Created 13 years, 8 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « scm/define-grob-properties.scm ('k') | scm/define-music-properties.scm » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> 3 ;;;; Copyright (C) 1998--2011 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 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 (style . line) 943 (style . line)
944 (X-extent . #f) 944 (X-extent . #f)
945 (Y-extent . #f) 945 (Y-extent . #f)
946 (zigzag-width . 0.75) 946 (zigzag-width . 0.75)
947 (meta . ((class . Spanner) 947 (meta . ((class . Spanner)
948 (interfaces . (glissando-interface 948 (interfaces . (glissando-interface
949 line-interface 949 line-interface
950 line-spanner-interface 950 line-spanner-interface
951 unbreakable-spanner-interface)))))) 951 unbreakable-spanner-interface))))))
952 952
953 (GlissandoStem ; ugh...massive code dup... 953 (GlissandoStem ; ugh...massive code dup...
hanwenn 2011/07/19 12:33:45 this is not really code, but data. You can also dr
MikeSol 2011/07/19 13:42:06 Agreed. After I get this to a stable point, I am
954 . ( 954 . (
955 (after-line-breaking . ,ly:glissando-stem::after-line-breaking) 955 (after-line-breaking . ,ly:glissando-stem::after-line-breaking)
956 (beamlet-default-length . (1.1 . 1.1)) 956 (beamlet-default-length . (1.1 . 1.1))
957 (beamlet-max-length-proportion . (0.75 . 0.75)) 957 (beamlet-max-length-proportion . (0.75 . 0.75))
958 (cross-staff . ,ly:stem::calc-cross-staff) 958 (cross-staff . ,ly:stem::calc-cross-staff)
959 (default-direction . ,ly:stem::calc-default-direction) 959 (default-direction . ,ly:stem::calc-default-direction)
960 (details 960 (details
961 . ( 961 . (
962 ;; 3.5 (or 3 measured from note head) is standard length 962 ;; 3.5 (or 3 measured from note head) is standard length
963 ;; 32nd, 64th, 128th flagged stems should be longer 963 ;; 32nd, 64th, 128th flagged stems should be longer
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1966 1966
1967 ;; We use the normal minima as minimum for the ideal lengths, 1967 ;; We use the normal minima as minimum for the ideal lengths,
1968 ;; and the extreme minima as abolute minimum length. 1968 ;; and the extreme minima as abolute minimum length.
1969 1969
1970 (direction . ,ly:stem::calc-direction) 1970 (direction . ,ly:stem::calc-direction)
1971 (duration-log . ,stem::calc-duration-log) 1971 (duration-log . ,stem::calc-duration-log)
1972 (flag . ,ly:stem::calc-flag) 1972 (flag . ,ly:stem::calc-flag)
1973 (length . ,ly:stem::calc-length) 1973 (length . ,ly:stem::calc-length)
1974 (neutral-direction . ,DOWN) 1974 (neutral-direction . ,DOWN)
1975 (positioning-done . ,ly:stem::calc-positioning-done) 1975 (positioning-done . ,ly:stem::calc-positioning-done)
1976 (stem-begin-position . ,ly:stem::calc-stem-begin-position)
1976 (stem-end-position . ,ly:stem::calc-stem-end-position) 1977 (stem-end-position . ,ly:stem::calc-stem-end-position)
1977 (stem-info . ,ly:stem::calc-stem-info) 1978 (stem-info . ,ly:stem::calc-stem-info)
1978 (stencil . ,ly:stem::print) 1979 (stencil . ,ly:stem::print)
1979 (thickness . 1.3) 1980 (thickness . 1.3)
1980 (X-extent . ,ly:stem::width) 1981 (X-extent . ,ly:stem::width)
1981 (X-offset . ,ly:stem::offset-callback) 1982 (X-offset . ,ly:stem::offset-callback)
1982 (Y-extent . ,ly:stem::height) 1983 (Y-extent . ,ly:stem::height)
1983 (Y-offset . ,ly:staff-symbol-referencer::callback) 1984 (Y-offset . ,ly:staff-symbol-referencer::callback)
1984 (meta . ((class . Item) 1985 (meta . ((class . Item)
1985 (interfaces . (font-interface 1986 (interfaces . (font-interface
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 (if (not (procedure? unpure)) 2709 (if (not (procedure? unpure))
2709 unpure 2710 unpure
2710 (if (memq unpure pure-functions) 2711 (if (memq unpure pure-functions)
2711 (apply unpure args) 2712 (apply unpure args)
2712 (let ((pure (assq unpure pure-conversions-alist))) 2713 (let ((pure (assq unpure pure-conversions-alist)))
2713 (if pure 2714 (if pure
2714 (apply (cdr pure) 2715 (apply (cdr pure)
2715 (append 2716 (append
2716 (list (car args) start end) 2717 (list (car args) start end)
2717 (cdr args))))))))) 2718 (cdr args)))))))))
LEFTRIGHT

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