GetVertexRectangle ( Point oLocation, Double dWidth, Double dHeight ) { Debug.Assert(dWidth >= 0); Debug.Assert(dHeight >= 0); AssertValid(); return new Rect( new Point(oLocation.X - dWidth / 2.0, oLocation.Y - dHeight / 2.0), new Size(dWidth, dHeight) ); }