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

Delta Between Two Patch Sets: scm/define-grob-properties.scm

Issue 6498052: bar-line interface part 2/2: New bar line definition standard (Closed) Base URL: http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Left Patch Set: open new issue Created 12 years, 7 months ago
Right Patch Set: use define-session-public for public alists Created 12 years, 6 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
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--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> 3 ;;;; Copyright (C) 1998--2012 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 @code{1}@tie{}is the next beam toward the note, etc. This information 101 @code{1}@tie{}is the next beam toward the note, etc. This information
102 is used to determine how to connect the beaming patterns from stem to 102 is used to determine how to connect the beaming patterns from stem to
103 stem inside a beam.") 103 stem inside a beam.")
104 (beamlet-default-length ,pair? "A pair of numbers. The first 104 (beamlet-default-length ,pair? "A pair of numbers. The first
105 number specifies the default length of a beamlet that sticks out of 105 number specifies the default length of a beamlet that sticks out of
106 the left hand side of this stem; the second number specifies the 106 the left hand side of this stem; the second number specifies the
107 default length of the beamlet to the right. The actual length of a 107 default length of the beamlet to the right. The actual length of a
108 beamlet is determined by taking either the default length or the 108 beamlet is determined by taking either the default length or the
109 length specified by @code{beamlet-max-length-proportion}, whichever is 109 length specified by @code{beamlet-max-length-proportion}, whichever is
110 smaller.") 110 smaller.")
111 (beam-gap ,number-pair? "Size of a gap in a @code{Beam}.")
111 (beamlet-max-length-proportion ,pair? "The maximum length of a 112 (beamlet-max-length-proportion ,pair? "The maximum length of a
112 beamlet, as a proportion of the distance between two adjacent stems.") 113 beamlet, as a proportion of the distance between two adjacent stems.")
113 (before-line-breaking ,boolean? "Dummy property, used to trigger 114 (before-line-breaking ,boolean? "Dummy property, used to trigger
114 a callback function.") 115 a callback function.")
115 (between-cols ,pair? "Where to attach a loose column to.") 116 (between-cols ,pair? "Where to attach a loose column to.")
116 (bound-details ,list? "An alist of properties for determining 117 (bound-details ,list? "An alist of properties for determining
117 attachments of spanners to edges.") 118 attachments of spanners to edges.")
118 (bound-padding ,number? "The amount of padding to insert around 119 (bound-padding ,number? "The amount of padding to insert around
119 spanner bounds.") 120 spanner bounds.")
120 (bracket-flare ,number-pair? "A pair of numbers specifying how 121 (bracket-flare ,number-pair? "A pair of numbers specifying how
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 problem, we increase the height of each item by this amount (by adding 270 problem, we increase the height of each item by this amount (by adding
270 the @q{car} to the bottom of the item and adding the @q{cdr} to the 271 the @q{car} to the bottom of the item and adding the @q{cdr} to the
271 top of the item). In order to make a grob infinitely high (to prevent 272 top of the item). In order to make a grob infinitely high (to prevent
272 the horizontal spacing problem from placing any other grobs above or 273 the horizontal spacing problem from placing any other grobs above or
273 below this grob), set this to @code{(-inf.0 . +inf.0)}.") 274 below this grob), set this to @code{(-inf.0 . +inf.0)}.")
274 (extra-spacing-width ,number-pair? "In the horizontal spacing 275 (extra-spacing-width ,number-pair? "In the horizontal spacing
275 problem, we pad each item by this amount (by adding the @q{car} on the 276 problem, we pad each item by this amount (by adding the @q{car} on the
276 left side of the item and adding the @q{cdr} on the right side of the 277 left side of the item and adding the @q{cdr} on the right side of the
277 item). In order to make a grob take up no horizontal space at all, 278 item). In order to make a grob take up no horizontal space at all,
278 set this to @code{(+inf.0 . -inf.0)}.") 279 set this to @code{(+inf.0 . -inf.0)}.")
279 (extra-X-extent ,number-pair? "A grob is enlarged in
280 X@tie{}dimension by this much.")
281 (extra-Y-extent ,number-pair? "A grob is enlarged in
282 Y@tie{}dimension by this much.")
283 280
284 281
285 ;; 282 ;;
286 ;; f 283 ;; f
287 ;; 284 ;;
288 (flag-count ,number? "The number of tremolo beams.") 285 (flag-count ,number? "The number of tremolo beams.")
289 (flat-positions ,list? "Flats in key signatures are placed 286 (flat-positions ,list? "Flats in key signatures are placed
290 within the specified ranges of staff-positions. The general form 287 within the specified ranges of staff-positions. The general form
291 is a list of pairs, with one pair for each type of clef, in order 288 is a list of pairs, with one pair for each type of clef, in order
292 of the staff-position at which each clef places C: 289 of the staff-position at which each clef places C:
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 in a 3/2 measure.") 759 in a 3/2 measure.")
763 760
764 761
765 ;; 762 ;;
766 ;; s 763 ;; s
767 ;; 764 ;;
768 (same-direction-correction ,number? "Optical correction amount 765 (same-direction-correction ,number? "Optical correction amount
769 for stems that are placed in tight configurations. This amount is 766 for stems that are placed in tight configurations. This amount is
770 used for stems with the same direction to compensate for note head to 767 used for stems with the same direction to compensate for note head to
771 stem distance.") 768 stem distance.")
772 (script-priority ,number? "A sorting key that determines in what 769 (script-priority ,number? "A key for determining the order of
773 order a script is within a stack of scripts.") 770 scripts in a stack, by being added to the position of the script in
771 the user input, the sum being the overall priority. Smaller means
772 closer to the head.")
774 (self-alignment-X ,number? "Specify alignment of an object. The 773 (self-alignment-X ,number? "Specify alignment of an object. The
775 value @w{@code{-1}} means left aligned, @code{0}@tie{}centered, and 774 value @w{@code{-1}} means left aligned, @code{0}@tie{}centered, and
776 @code{1}@tie{}right-aligned in X@tie{}direction. Other numerical 775 @code{1}@tie{}right-aligned in X@tie{}direction. Other numerical
777 values may also be specified.") 776 values may also be specified.")
778 (self-alignment-Y ,number? "Like @code{self-alignment-X} but for 777 (self-alignment-Y ,number? "Like @code{self-alignment-X} but for
779 the Y@tie{}axis.") 778 the Y@tie{}axis.")
780 (sharp-positions ,list? "Sharps in key signatures are placed 779 (sharp-positions ,list? "Sharps in key signatures are placed
781 within the specified ranges of staff-positions. The general form 780 within the specified ranges of staff-positions. The general form
782 is a list of pairs, with one pair for each type of clef, in order 781 is a list of pairs, with one pair for each type of clef, in order
783 of the staff-position at which each clef places C: 782 of the staff-position at which each clef places C:
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 (encompass-objects ,ly:grob-array? "Objects that a slur should avoid 1086 (encompass-objects ,ly:grob-array? "Objects that a slur should avoid
1088 in addition to notes and stems.") 1087 in addition to notes and stems.")
1089 1088
1090 (figures ,ly:grob-array? "Figured bass objects for continuation line.") 1089 (figures ,ly:grob-array? "Figured bass objects for continuation line.")
1091 (flag ,ly:grob? "A pointer to a @code{Flag} object.") 1090 (flag ,ly:grob? "A pointer to a @code{Flag} object.")
1092 (footnote-stencil ,ly:stencil? "The stencil of a system's footnotes.") 1091 (footnote-stencil ,ly:stencil? "The stencil of a system's footnotes.")
1093 (footnotes-before-line-breaking ,ly:grob-array? "Footnote grobs of 1092 (footnotes-before-line-breaking ,ly:grob-array? "Footnote grobs of
1094 a whole system.") 1093 a whole system.")
1095 (footnotes-after-line-breaking ,ly:grob-array? "Footnote grobs of 1094 (footnotes-after-line-breaking ,ly:grob-array? "Footnote grobs of
1096 a broken system.") 1095 a broken system.")
1097 (full-score-pure-minimum-translations ,list? "A list of translations
1098 for a full score's worth of grobs.")
1099 1096
1100 (glissando-index ,integer? "The index of a glissando in its note 1097 (glissando-index ,integer? "The index of a glissando in its note
1101 column.") 1098 column.")
1102 (grace-spacing ,ly:grob? "A run of grace notes.") 1099 (grace-spacing ,ly:grob? "A run of grace notes.")
1103 1100
1104 (has-span-bar ,pair? "A pair of grobs containing the span bars to 1101 (has-span-bar ,pair? "A pair of grobs containing the span bars to
1105 be drawn below and above the staff. If no span bar is in a position, 1102 be drawn below and above the staff. If no span bar is in a position,
1106 the respective element is set to @code{#f}.") 1103 the respective element is set to @code{#f}.")
1107 (heads ,ly:grob-array? "An array of note heads.") 1104 (heads ,ly:grob-array? "An array of note heads.")
1108 1105
1109 (items-worth-living ,ly:grob-array? "An array of interesting items. If 1106 (items-worth-living ,ly:grob-array? "An array of interesting items. If
1110 empty in a particular staff, then that staff is erased.") 1107 empty in a particular staff, then that staff is erased.")
1111 (in-note-direction ,ly:dir? "Direction to place in-notes above a system.") 1108 (in-note-direction ,ly:dir? "Direction to place in-notes above a system.")
1112 (in-note-padding ,number? "Padding between in-notes.") 1109 (in-note-padding ,number? "Padding between in-notes.")
1113 (in-note-stencil ,ly:stencil? "The stencil of a system's in-notes.") 1110 (in-note-stencil ,ly:stencil? "The stencil of a system's in-notes.")
1114 1111
1115 (keep-alive-with ,ly:grob-array? "An array of other 1112 (keep-alive-with ,ly:grob-array? "An array of other
1116 @code{VerticalAxisGroup}s. If any of them are alive, then we will stay alive.") 1113 @code{VerticalAxisGroup}s. If any of them are alive, then we will stay alive.")
1117 1114
1118 (left-items ,ly:grob-array? "DOCME") 1115 (left-items ,ly:grob-array? "DOCME")
1119 (left-neighbor ,ly:grob? "The right-most column that has a spacing-wish 1116 (left-neighbor ,ly:grob? "The right-most column that has a spacing-wish
1120 for this column.") 1117 for this column.")
1121 1118
1122 (melody-spanner ,ly:grob? "The @code{MelodyItem} object for a stem.") 1119 (melody-spanner ,ly:grob? "The @code{MelodyItem} object for a stem.")
1120 (minimum-translations-alist ,list? "An list of translations for a given
1121 start and end point.")
1123 1122
1124 (neighbors ,ly:grob-array? "The X-axis neighbors of a grob. Used by the 1123 (neighbors ,ly:grob-array? "The X-axis neighbors of a grob. Used by the
1125 pure-from-neighbor-interface to determine various grob heights.") 1124 pure-from-neighbor-interface to determine various grob heights.")
1126 1125
1127 (normal-stems ,ly:grob-array? "An array of visible stems.") 1126 (normal-stems ,ly:grob-array? "An array of visible stems.")
1128 (note-columns ,ly:grob-array? "An array of @code{NoteColumn} grobs.") 1127 (note-columns ,ly:grob-array? "An array of @code{NoteColumn} grobs.")
1129 (note-head ,ly:grob? "A single note head.") 1128 (note-head ,ly:grob? "A single note head.")
1130 (note-heads ,ly:grob-array? "An array of note head grobs.") 1129 (note-heads ,ly:grob-array? "An array of note head grobs.")
1131 (pedal-text ,ly:grob? "A pointer to the text of a mixed-style piano 1130 (pedal-text ,ly:grob? "A pointer to the text of a mixed-style piano
1132 pedal.") 1131 pedal.")
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 (virga ,boolean? "Is this neume a virga?") 1308 (virga ,boolean? "Is this neume a virga?")
1310 1309
1311 (x-offset ,ly:dimension? "Extra horizontal offset for ligature heads.") 1310 (x-offset ,ly:dimension? "Extra horizontal offset for ligature heads.")
1312 1311
1313 ))) 1312 )))
1314 1313
1315 (define-public all-backend-properties 1314 (define-public all-backend-properties
1316 (append 1315 (append
1317 all-internal-grob-properties 1316 all-internal-grob-properties
1318 all-user-grob-properties)) 1317 all-user-grob-properties))
LEFTRIGHT

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