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

CreateVoiceGlyphs() private method

private CreateVoiceGlyphs ( Voice v ) : void
v AlphaTab.Model.Voice
return void
        private void CreateVoiceGlyphs(Voice v)
        {
            foreach (var b in v.Beats)
            {
                // we create empty glyphs as alignment references and to get the
                // effect bar sized
                var container = new BeatContainerGlyph(b, GetOrCreateVoiceContainer(v), true);
                container.PreNotes = new BeatGlyphBase();
                container.OnNotes = new BeatOnNoteGlyphBase();
                AddBeatGlyph(container);

                if (_info.ShouldCreateGlyph(this, b))
                {
                    CreateOrResizeGlyph(_info.SizingMode, b);
                }
            }
        }