예제 #1
0
 public ScoreSlideLineGlyph(SlideType type, Note startNote, BeatContainerGlyph parent)
     : base(0, 0)
 {
     _type      = type;
     _startNote = startNote;
     _parent    = parent;
 }
예제 #2
0
 public TabSlideLineGlyph(SlideType type, Note startNote, BeatContainerGlyph parent)
     : base(0, 0)
 {
     _type = type;
     _startNote = startNote;
     _parent = parent;
 }
 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);
         container.PreNotes = new BeatGlyphBase();
         container.OnNotes = new BeatGlyphBase();
         container.PostNotes = new BeatGlyphBase();
         AddBeatGlyph(container);
     }
 }
예제 #4
0
 public WhammyBarGlyph(Beat beat, BeatContainerGlyph parent)
     : base(0, 0)
 {
     _beat   = beat;
     _parent = parent;
 }
예제 #5
0
        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);
                }
            }
        }
예제 #6
0
 protected void AddBeatGlyph(BeatContainerGlyph g)
 {
     GetOrCreateVoiceContainer(g.Beat.Voice.Index).AddGlyph(g);
 }
예제 #7
0
 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);
 }
예제 #8
0
        private void CreateVoiceGlyphs(Voice v)
        {
            for (int i = 0, j = v.Beats.Count; i < j; i++)
            {
                var b = v.Beats[i];
                // we create empty glyphs as alignment references and to get the
                // effect bar sized
                var container = new BeatContainerGlyph(b);
                container.PreNotes = new BeatGlyphBase();
                container.OnNotes = new BeatGlyphBase();
                container.PostNotes = new BeatGlyphBase();
                AddBeatGlyph(container);

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

                _lastBeat = b;
            }
        }
예제 #9
0
 public WhammyBarGlyph(Beat beat, BeatContainerGlyph parent)
     : base(0, 0)
 {
     _beat = beat;
     _parent = parent;
 }