Beispiel #1
0
 public static void __hx_ctor_alphatab_rendering_glyphs_NumberGlyph(global::alphatab.rendering.glyphs.NumberGlyph __temp_me174, int x, int y, int number)
 {
     unchecked
     {
         global::alphatab.rendering.glyphs.GlyphGroup.__hx_ctor_alphatab_rendering_glyphs_GlyphGroup(__temp_me174, new global::haxe.lang.Null <int>(x, true), new global::haxe.lang.Null <int>(y, true), new global::haxe.root.Array <object>());
         __temp_me174._number = number;
     }
 }
 public override void doLayout()
 {
     unchecked
     {
         global::alphatab.rendering.glyphs.NumberGlyph numerator   = new global::alphatab.rendering.glyphs.NumberGlyph(((int)(0)), ((int)(0)), ((int)(this._numerator)));
         global::alphatab.rendering.glyphs.NumberGlyph denominator = new global::alphatab.rendering.glyphs.NumberGlyph(((int)(0)), ((int)((18 * this.renderer.stave.staveGroup.layout.renderer.settings.scale))), ((int)(this._denominator)));
         this._glyphs.push(numerator);
         this._glyphs.push(denominator);
         base.doLayout();
         {
             int _g = 0;
             global::haxe.root.Array <object> _g1 = this._glyphs;
             while ((_g < _g1.length))
             {
                 global::alphatab.rendering.Glyph g = ((global::alphatab.rendering.Glyph)(_g1[_g]));
                 ++_g;
                 g.x = (((this.width - g.width)) / 2);
             }
         }
     }
 }
		public override   void doLayout()
		{
			unchecked 
			{
				global::alphatab.rendering.glyphs.NumberGlyph numerator = new global::alphatab.rendering.glyphs.NumberGlyph(((int) (0) ), ((int) (0) ), ((int) (this._numerator) ));
				global::alphatab.rendering.glyphs.NumberGlyph denominator = new global::alphatab.rendering.glyphs.NumberGlyph(((int) (0) ), ((int) (( 18 * this.renderer.stave.staveGroup.layout.renderer.settings.scale )) ), ((int) (this._denominator) ));
				this._glyphs.push(numerator);
				this._glyphs.push(denominator);
				base.doLayout();
				{
					int _g = 0;
					global::haxe.root.Array<object> _g1 = this._glyphs;
					while (( _g < _g1.length ))
					{
						global::alphatab.rendering.Glyph g = ((global::alphatab.rendering.Glyph) (_g1[_g]) );
						 ++ _g;
						g.x = ( (( this.width - g.width )) / 2 );
					}
					
				}
				
			}
		}