Exemplo n.º 1
0
 /// <summary>
 /// Inflates the specified size.
 /// </summary>
 /// <param name="size">The size.</param>
 public void Inflate(SIZE size)
 {
     this.Inflate(size.Width, size.Height);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RECT"/> class.
 /// </summary>
 /// <param name="location">A location.</param>
 /// <param name="size">A size.</param>
 public RECT(POINT location, SIZE size)
 {
     this._Left = location.X;
     this._Top = location.Y;
     this._Right = this._Left + size.Width;
     this._Bottom = this._Top + size.Height;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Equalses the specified size.
 /// </summary>
 /// <param name="size">The size.</param>
 /// <returns></returns>
 public bool Equals(SIZE size)
 {
     if (this._Width.Equals((object)size._Width) && this._Height.Equals((object)size._Height))
     {
         return true;
     }
     return false;
 }