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); } } }
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); } } }
public static void __hx_ctor_alphatab_rendering_glyphs_TabSlideLineGlyph(global::alphatab.rendering.glyphs.TabSlideLineGlyph __temp_me221, global::alphatab.model.SlideType type, global::alphatab.model.Note startNote, global::alphatab.rendering.glyphs.BeatContainerGlyph parent) { unchecked { global::alphatab.rendering.Glyph.__hx_ctor_alphatab_rendering_Glyph(__temp_me221, new global::haxe.lang.Null <int>(0, true), new global::haxe.lang.Null <int>(0, true)); __temp_me221._type = type; __temp_me221._startNote = startNote; __temp_me221._parent = parent; } }