Esempio n. 1
0
 public static void __hx_ctor_alphatab_rendering_glyphs_TabTieGlyph(global::alphatab.rendering.glyphs.TabTieGlyph __temp_me222, global::alphatab.model.Note startNote, global::alphatab.model.Note endNote, global::alphatab.rendering.Glyph parent)
 {
     unchecked
     {
         global::alphatab.rendering.glyphs.TieGlyph.__hx_ctor_alphatab_rendering_glyphs_TieGlyph(__temp_me222, startNote, endNote, parent);
     }
 }
		public override   void createTies(global::alphatab.model.Note n)
		{
			unchecked 
			{
				if (( n.isHammerPullDestination && ( n.hammerPullOrigin != default(global::alphatab.model.Note) ) )) 
				{
					global::alphatab.rendering.glyphs.TabTieGlyph tie = new global::alphatab.rendering.glyphs.TabTieGlyph(((global::alphatab.model.Note) (n.hammerPullOrigin) ), ((global::alphatab.model.Note) (n) ), ((global::alphatab.rendering.Glyph) (this) ));
					this.ties.push(tie);
				}
				 else 
				{
					if (( n.slideType == global::alphatab.model.SlideType.Legato )) 
					{
						global::alphatab.rendering.glyphs.TabTieGlyph tie1 = new global::alphatab.rendering.glyphs.TabTieGlyph(((global::alphatab.model.Note) (n) ), ((global::alphatab.model.Note) (n.slideTarget) ), ((global::alphatab.rendering.Glyph) (this) ));
						this.ties.push(tie1);
					}
					
				}
				
				if (( n.slideType != global::alphatab.model.SlideType.None )) 
				{
					global::alphatab.rendering.glyphs.TabSlideLineGlyph l = new global::alphatab.rendering.glyphs.TabSlideLineGlyph(((global::alphatab.model.SlideType) (n.slideType) ), ((global::alphatab.model.Note) (n) ), ((global::alphatab.rendering.glyphs.BeatContainerGlyph) (this) ));
					this.ties.push(l);
				}
				
			}
		}
Esempio n. 3
0
        public override void createTies(global::alphatab.model.Note n)
        {
            unchecked
            {
                if ((n.isHammerPullDestination && (n.hammerPullOrigin != default(global::alphatab.model.Note))))
                {
                    global::alphatab.rendering.glyphs.TabTieGlyph tie = new global::alphatab.rendering.glyphs.TabTieGlyph(((global::alphatab.model.Note)(n.hammerPullOrigin)), ((global::alphatab.model.Note)(n)), ((global::alphatab.rendering.Glyph)(this)));
                    this.ties.push(tie);
                }
                else
                {
                    if ((n.slideType == global::alphatab.model.SlideType.Legato))
                    {
                        global::alphatab.rendering.glyphs.TabTieGlyph tie1 = new global::alphatab.rendering.glyphs.TabTieGlyph(((global::alphatab.model.Note)(n)), ((global::alphatab.model.Note)(n.slideTarget)), ((global::alphatab.rendering.Glyph)(this)));
                        this.ties.push(tie1);
                    }
                }

                if ((n.slideType != global::alphatab.model.SlideType.None))
                {
                    global::alphatab.rendering.glyphs.TabSlideLineGlyph l = new global::alphatab.rendering.glyphs.TabSlideLineGlyph(((global::alphatab.model.SlideType)(n.slideType)), ((global::alphatab.model.Note)(n)), ((global::alphatab.rendering.glyphs.BeatContainerGlyph)(this)));
                    this.ties.push(l);
                }
            }
        }