protected override void CreateTies(Note n) { // create a tie if any effect requires it // NOTE: we create 2 tie glyphs if we have a line break inbetween // the two notes if (n.IsTieOrigin) { var tie = new ScoreTieGlyph(n, n.TieDestination, this); Ties.Add(tie); } if (n.IsTieDestination) { var tie = new ScoreTieGlyph(n.TieOrigin, n, this, true); Ties.Add(tie); } else if (n.IsHammerPullOrigin) { var tie = new ScoreTieGlyph(n, n.HammerPullDestination, this); Ties.Add(tie); } else if (n.SlideType == SlideType.Legato) { var tie = new ScoreTieGlyph(n, n.SlideTarget, this); Ties.Add(tie); } // TODO: depending on the type we have other positioning // we should place glyphs in the preNotesGlyph or postNotesGlyph if needed if (n.SlideType != SlideType.None) { var l = new ScoreSlideLineGlyph(n.SlideType, n, this); Ties.Add(l); } }