mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
18 lines
404 B
C#
18 lines
404 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Microsoft.Iris.Render.Interop.Drawing;
|
|
|
|
// Bit-for-bit mirror of Microsoft.Iris.Render.Size (UIX.RenderApi/Microsoft/Iris/Render/Size.cs).
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct Size
|
|
{
|
|
public int width;
|
|
public int height;
|
|
|
|
public Size(int width, int height)
|
|
{
|
|
this.width = width;
|
|
this.height = height;
|
|
}
|
|
}
|