public ScoreSlideLineGlyph(SlideType type, Note startNote, BeatContainerGlyph parent) : base(0, 0) { _type = type; _startNote = startNote; _parent = parent; }
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); } }
public WhammyBarGlyph(Beat beat, BeatContainerGlyph parent) : base(0, 0) { _beat = beat; _parent = parent; }
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); } } }
protected void AddBeatGlyph(BeatContainerGlyph g) { GetOrCreateVoiceContainer(g.Beat.Voice.Index).AddGlyph(g); }
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); }
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; } }