public myRect CopyFrom(myRect another) { this.X = another.X; this.Y = another.Y; this.Right = another.Right; this.Bottom = another.Bottom; return(this); }
// Constructor public MandImage() { m_bitmapCalculated = false; MainBmp = new Bitmap(bitmapWidth, bitmapHeight); mandRect = new myRect(); mandRect.X = minXBound; mandRect.Right = maxXBound; mandRect.Y = minYBound; mandRect.Bottom = maxYBound; XInc = (FloatType)(mandRect.Width) / (MainBmp.Width); YInc = (FloatType)(mandRect.Height) / (MainBmp.Height); }