AlphaTab.Rendering.RhythmBarRenderer.CreateVoiceGlyphs C# (CSharp) Method

CreateVoiceGlyphs() private method

private CreateVoiceGlyphs ( Voice voice ) : void
voice AlphaTab.Model.Voice
return void
        private void CreateVoiceGlyphs(Voice voice)
        {
            for (int i = 0, j = voice.Beats.Count; i < j; i++)
            {
                var b = voice.Beats[i];
                // we create empty glyphs as alignment references and to get the
                // effect bar sized
                var container = new BeatContainerGlyph(b, GetOrCreateVoiceContainer(voice));
                container.PreNotes = new BeatGlyphBase();
                container.OnNotes = new BeatOnNoteGlyphBase();
                AddBeatGlyph(container);
            }
        }