Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.ToD3DRectangle C# (CSharp) Метод

ToD3DRectangle() защищенный статический Метод

Convert Axiom integer Box to D3D rectangle
protected static ToD3DRectangle ( BasicBox lockBox ) : Rectangle
lockBox Axiom.Media.BasicBox
Результат System.Drawing.Rectangle
		protected static System.Drawing.Rectangle ToD3DRectangle( BasicBox lockBox )
		{
			Debug.Assert( lockBox.Depth == 1 );
			System.Drawing.Rectangle r = new System.Drawing.Rectangle();
			r.X = lockBox.Left;
			r.Width = lockBox.Width;
			r.Y = lockBox.Top;
			r.Height = lockBox.Height;
			return r;
		}