Exemple #1
0
 public void SetCircle(ref AppMain.AOS_ACT_CIRCLE circle)
 {
     this.rect.left   = circle.center_x;
     this.rect.top    = circle.center_y;
     this.rect.right  = circle.radius;
     this.rect.bottom = (float)circle.pad;
 }
Exemple #2
0
 public void GetCircle(ref AppMain.AOS_ACT_CIRCLE circle)
 {
     circle.center_x = this.rect.left;
     circle.center_y = this.rect.top;
     circle.radius   = this.rect.right;
     circle.pad      = (uint)this.rect.bottom;
 }