68 notehead::Shape
shape{ notehead::Shape::Unclassified };
70 notehead::Fill
fill{ notehead::Fill::Unspecified };
77 explicit operator bool() const noexcept
78 {
return shape != notehead::Shape::Unclassified; }
83 const musx::dom::MusxInstance<musx::dom::FontInfo>& fontInfo,
char32_t symbol);
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:32
Result returned by notehead classification.
Definition noteheads.h:66
std::optional< std::string > glyphName
SMuFL glyph name associated with the recognized symbol, when available.
Definition noteheads.h:72
musx::dom::NoteInfoPtr::NoteheadInfo noteheadInfo
The resolved font, character, size, and offset that produced this classification.
Definition noteheads.h:74
notehead::Shape shape
Classified notehead shape family.
Definition noteheads.h:68
notehead::Fill fill
Filled/unfilled state of the glyph. notehead::Fill::Unspecified when not known or not applicable.
Definition noteheads.h:70