Skip to main content

Crate acorde_layout

Crate acorde_layout 

Source
Expand description

Logical, pixel-free score layout engine for acorde-core scores — computes row breaks, multi-rest collapsing, beam groups, tuplet groups, courtesy accidentals, and span (hairpin/ottava/pedal/slur) resolution for score renderers (e.g. VexFlow).

Structs§

AccidentalMark
A mandatory (non-courtesy) accidental that must be drawn beside a notehead.
BeamGroup
A group of beamed notes within a single voice of a measure.
ConcertKeyOverride
Concert-pitch key signature override for a specific staff of a transposing instrument.
CourtesyAccidental
A courtesy (cautionary) accidental to display in parentheses.
LayoutConfig
Configuration for a layout pass.
LayoutResult
The result of a layout pass.
NoteAddr
Physical address of a note within a score.
RowLayout
One horizontal row (system) of measures.
TupletGroup
A group of notes forming one tuplet bracket within a single voice of one measure.

Enums§

SpanMark
A resolved span between two note addresses.

Functions§

compute_layout
Compute a LayoutResult for the given score and configuration.