private void CreateVoiceGlyphs(Voice v) { for (int i = 0, j = v.Beats.Count; i < j; i++) { var b = v.Beats[i]; var container = new ScoreBeatContainerGlyph(b, GetOrCreateVoiceContainer(v)); container.PreNotes = new ScoreBeatPreNotesGlyph(); container.OnNotes = new ScoreBeatGlyph(); AddBeatGlyph(container); } }
private void CreateVoiceGlyphs(Voice v) { for (int i = 0, j = v.Beats.Count; i < j; i++) { var b = v.Beats[i]; var container = new ScoreBeatContainerGlyph(b, GetOrCreateVoiceContainer(v)); container.PreNotes = new ScoreBeatPreNotesGlyph(); container.OnNotes = new ScoreBeatGlyph(); container.OnNotes.BeamingHelper = _helpers.BeamHelperLookup[v.Index][b.Index]; AddBeatGlyph(container); } }
private void CreateVoiceGlyphs(Voice v) { for (int i = 0, j = v.Beats.Count; i < j; i++) { var b = v.Beats[i]; var container = new ScoreBeatContainerGlyph(b); container.PreNotes = new ScoreBeatPreNotesGlyph(); container.OnNotes = new ScoreBeatGlyph(); ((ScoreBeatGlyph)container.OnNotes).BeamingHelper = _helpers.BeamHelperLookup[v.Index][b.Index]; container.PostNotes = new ScoreBeatPostNotesGlyph(); AddBeatGlyph(container); } }