67 notehead::Shape
shape{notehead::Shape::Unclassified};
69 notehead::Fill
fill{notehead::Fill::Unspecified};
76 explicit operator bool() const noexcept {
return shape != notehead::Shape::Unclassified; }
NoteheadClassification classifyNotehead(const musx::dom::NoteInfoPtr ¬e)
Classifies the effective notehead for a note, resolving the note's font/character via #musx::dom::Not...
NoteheadClassification classifyNoteheadSymbol(const musx::dom::MusxInstance< musx::dom::FontInfo > &fontInfo, char32_t symbol)
Classifies a notehead symbol from a font and character code.
Core public API for the Denigma conversion libraries.
Definition articulations.h:33
Result returned by notehead classification.
Definition noteheads.h:65
bool calcOverridesDefault(musx::dom::NoteType noteType) const noexcept
Returns true when this classification changes the notehead a target would infer from the note duratio...
std::optional< std::string > glyphName
SMuFL glyph name associated with the recognized symbol, when available.
Definition noteheads.h:71
musx::dom::NoteInfoPtr::NoteheadInfo noteheadInfo
The resolved font, character, size, and offset that produced this classification.
Definition noteheads.h:73
notehead::Shape shape
Classified notehead shape family.
Definition noteheads.h:67
bool calcFillOverridesDefault(musx::dom::NoteType noteType) const noexcept
Returns true when the classified fill changes the fill inferred from the note duration.
notehead::Fill fill
Filled/unfilled state of the glyph. notehead::Fill::Unspecified when not known or not applicable.
Definition noteheads.h:69