AlphaTab.Rendering.BarRendererBase.AddBeatGlyph C# (CSharp) Method

AddBeatGlyph() protected method

protected AddBeatGlyph ( BeatContainerGlyph g ) : void
g BeatContainerGlyph
return void
        protected void AddBeatGlyph(BeatContainerGlyph g)
        {
            g.Renderer = this;
            g.PreNotes.Renderer = this;
            g.OnNotes.Renderer = this;
            g.OnNotes.BeamingHelper = Helpers.BeamHelperLookup[g.Beat.Voice.Index][g.Beat.Index];
            GetOrCreateVoiceContainer(g.Beat.Voice).AddGlyph(g);
        }