mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
More engine API work
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Microsoft.Iris.Render.Interop.Drawing;
|
||||
|
||||
// Bit-for-bit mirror of Microsoft.Iris.Render.Rectangle (UIX.RenderApi/Microsoft/Iris/Render/Rectangle.cs).
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Rectangle
|
||||
{
|
||||
public int x;
|
||||
public int y;
|
||||
public int width;
|
||||
public int height;
|
||||
}
|
||||
|
||||
// Bit-for-bit mirror of Microsoft.Iris.RenderAPI.Drawing.RectangleF
|
||||
// (UIX/Microsoft/Iris/RenderAPI/Drawing/RectangleF.cs).
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct RectangleF
|
||||
{
|
||||
public float x;
|
||||
public float y;
|
||||
public float width;
|
||||
public float height;
|
||||
}
|
||||
Reference in New Issue
Block a user