)
-(define (element-description name . interfaces)
- (let* ((ifs (cons general-element-interface interfaces))
+(define (grob-description name . interfaces)
+ (let* ((ifs (cons general-grob-interface interfaces))
(props (map caddr ifs))
; (prop-typep-pairs (map (lambda (x) (cons (car x) (cadr x)))
; (apply append props)))
(cons 'interfaces syms)
(cons 'interface-descriptions ifs)
; (cons 'interface-descriptions (cadr merged))
- ;; description of the element itself?
+ ;; description of the grob itself?
; (cons 'properties prop-typep-pairs)
)))
-(define general-element-interface
+(define general-grob-interface
(lily-interface
- 'general-element-interface
- "All elements support this"
+ 'general-grob-interface
+ "All grobs support this"
'(
X-offset-callbacks
Y-offset-callbacks
(define axis-group-interface
(lily-interface
'axis-group-interface
- "a group of coupled elements"
+ "a group of coupled grobs"
'(
axes
)))
(define line-of-score-interface
(lily-interface
'line-of-score-interface
- "Super element, parent of all:
+ "Super grob, parent of all:
-The columns of a score that form one line. The toplevel element. Any
-element has a Line_of_score as both X and Y reference point. The
-Paper_score contains one element of this type. Control enters the
+The columns of a score that form one line. The toplevel grob. Any
+grob has a Line_of_score as both X and Y reference point. The
+Paper_score contains one grob of this type. Control enters the
Grob dependency calculation from this single Line_of_score
object."
'(
(define align-interface
(lily-interface
'align-interface
- " Order elements top to bottom/left to right/right to left etc."
+ " Order grobs top to bottom/left to right/right to left etc."
'(
stacking-dir
align-dir
(define separation-spanner-interface
(lily-interface
'separation-spanner-interface
- "Spanner that containing @code{separation-item-interface} elements to calculate rods"
+ "Spanner that containing @code{separation-item-interface} grobs to calculate rods"
'()
))
(define text-script-interface
we don't contain any interesting items after linebreaking, then
gracefully commit suicide. Objective: don't disgrace Lily by
typesetting empty lines in orchestral scores."
- '(
- items-worth-living
+ '( items-worth-living )
+))
+(define line-spanner-interface
+ (lily-interface
+ 'line-spanner-interface
+ "Generic line drawn between two objects, eg. for use with glissandi.
+gap is measured in staff-spaces. "
- )))
+ '(gap dash-period dash-length line-thickness type )
+ ))
(define lyric-hyphen-interface
(lily-interface
"A centred hyphen is a simple line between lyrics used to divide
syllables. The length of the hyphen line should stretch based on the
size of the gap between syllables."
- '(
-
- thickness
- height
- minimum-length
- word-space
- )))
+ '( thickness height minimum-length word-space )
+ ))
(define key-signature-interface
(lily-interface
padding is the space between number and rest. Measured in staffspace.
"
- '(
-
- columns
- expand-limit
- minimum-width
- padding
- )))
+ '( columns expand-limit minimum-width padding )
+
+ ))
(define paper-column-interface
(lily-interface
'paper-column-interface
""
- '(
- column-space-strength
- before-musical-spacing-factor
- stem-spacing-correction
- before-grace-spacing-factor
- when
- bounded-by-me
- dir-list
- shortest-playing-duration
- shortest-starter-duration
- contains-grace
- extra-space
- stretch-distance
- )))
+
+ '(column-space-strength before-musical-spacing-factor
+stem-spacing-correction before-grace-spacing-factor when bounded-by-me
+dir-list shortest-playing-duration shortest-starter-duration
+contains-grace extra-space stretch-distance ))
+
+ )
(define spaceable-element-interface
(lily-interface
'spaceable-element-interface
- "An element (generally a Paper_column) that takes part in the
+ "An grob (generally a Paper_column) that takes part in the
spacing problem. "
'(
minimum-distances
"Item that computes widths to generate spacing rods.
Calc dimensions for the Separating_group_spanner; this has to be
- an item to get dependencies correct. It can't be an element_group
+ an item to get dependencies correct. It can't be an grob_group
since these usually are in a different X_group
"
'(