using System.Diagnostics;
using System.Runtime.InteropServices;
namespace SharpDX.Mathematics.Interop
{
///
/// Interop type for a Rectangle (4 ints).
///
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[DebuggerDisplay("X: {X}, Y: {Y}, Width: {Width}, Height: {Height}")]
public struct RawBox
{
///
/// Initializes a new instance of the struct.
///
/// The x.
/// The y.
/// The width.
/// The height.
public RawBox(int x, int y, int width, int height)
{
X = x;
Y = y;
Width = width;
Height = height;
}
///
/// The left position.
///
public int X;
///
/// The top position.
///
public int Y;
///
/// The right position
///
public int Width;
///
/// The bottom position.
///
public int Height;
}
}