Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Cirrus.Gfx.Layer2d"/> class.
 /// </summary>
 /// <param name='surface'>
 /// The <see cref="Cirrus.Gfx.ISurface2d" /> to which this layer will render.
 /// </param>
 /// <param name='transform'>
 /// Transform.
 /// </param>
 protected Layer2d(ISurface2d surface, bool transform)
 {
     this.Surface = surface;
     this.transform = transform;
     this.ScaleX = 1;
     this.ScaleY = 1;
     this.Bounds = new BoundingRect ();
     this.Bounds.Change.OnNext += HandleBoundsChange;
 }
Exemple #2
0
 public RootWidget(ISurface2d nativeSurface)
     : base(nativeSurface)
 {
 }