Inheritance: AlphaTab.Rendering.Glyphs.BeatContainerGlyph
コード例 #1
0
 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);
     }
 }
コード例 #2
0
 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);
     }
 }
コード例 #3
0
 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);
     }
 }
コード例 #4
0
ファイル: ScoreBarRenderer.cs プロジェクト: eriser/alphaTab
 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);
     }
 }