Esempio n. 1
0
 public static void __hx_ctor_alphatab_rendering_glyphs_TabBeatGlyph(global::alphatab.rendering.glyphs.TabBeatGlyph __temp_me212)
 {
     unchecked
     {
         global::alphatab.rendering.glyphs.BeatGlyphBase.__hx_ctor_alphatab_rendering_glyphs_BeatGlyphBase(__temp_me212);
     }
 }
Esempio n. 2
0
        public virtual int getBeatX(global::alphatab.model.Beat beat)
        {
            unchecked
            {
                global::alphatab.rendering.glyphs.TabBeatGlyph bg = ((global::alphatab.rendering.glyphs.TabBeatGlyph)(((global::alphatab.rendering.glyphs.BeatContainerGlyph)(this.getOrCreateVoiceContainer(beat.voice.index).beatGlyphs[beat.index])).preNotes));
                if ((bg != default(global::alphatab.rendering.glyphs.TabBeatGlyph)))
                {
                    return(bg.container.x + bg.x);
                }

                return(0);
            }
        }
Esempio n. 3
0
        public virtual int getNoteY(global::alphatab.model.Note note)
        {
            unchecked
            {
                global::alphatab.rendering.glyphs.TabBeatGlyph beat = ((global::alphatab.rendering.glyphs.TabBeatGlyph)(((global::alphatab.rendering.glyphs.BeatContainerGlyph)(this.getOrCreateVoiceContainer(note.beat.voice.index).beatGlyphs[note.beat.index])).onNotes));
                if ((beat != default(global::alphatab.rendering.glyphs.TabBeatGlyph)))
                {
                    return(beat.noteNumbers.getNoteY(note));
                }

                return(0);
            }
        }
Esempio n. 4
0
        public virtual int getNoteX(global::alphatab.model.Note note, global::haxe.lang.Null <bool> onEnd)
        {
            unchecked
            {
                bool __temp_onEnd102 = ((global::haxe.lang.Runtime.eq((onEnd).toDynamic(), (default(global::haxe.lang.Null <bool>)).toDynamic())) ? (((bool)(true))) : (onEnd.@value));
                global::alphatab.rendering.glyphs.TabBeatGlyph beat = ((global::alphatab.rendering.glyphs.TabBeatGlyph)(((global::alphatab.rendering.glyphs.BeatContainerGlyph)(this.getOrCreateVoiceContainer(note.beat.voice.index).beatGlyphs[note.beat.index])).onNotes));
                if ((beat != default(global::alphatab.rendering.glyphs.TabBeatGlyph)))
                {
                    return((beat.container.x + beat.x) + beat.noteNumbers.getNoteX(note, new global::haxe.lang.Null <bool>(__temp_onEnd102, true)));
                }

                return(this.getPostBeatGlyphsStart());
            }
        }