AlphaTab.Rendering.TabBarRenderer.CreatePreBeatGlyphs C# (CSharp) Method

CreatePreBeatGlyphs() protected method

protected CreatePreBeatGlyphs ( ) : void
return void
        protected override void CreatePreBeatGlyphs()
        {
            if (Bar.MasterBar.IsRepeatStart)
            {
                AddPreBeatGlyph(new RepeatOpenGlyph(0, 0, 1.5f, 3));
            }

            // Clef
            if (IsFirstOfLine)
            {
                AddPreBeatGlyph(new TabClefGlyph(0, 0));
            }

            AddPreBeatGlyph(new BarNumberGlyph(0, GetTabY(-1, -3), Bar.Index + 1, !Staff.IsFirstInAccolade));

            if (Bar.IsEmpty)
            {
                AddPreBeatGlyph(new SpacingGlyph(0, 0, 30 * Scale));
            }
        }