aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/RectangleF.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/RectangleF.cs')
-rw-r--r--Ryujinx.Graphics.GAL/RectangleF.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/RectangleF.cs b/Ryujinx.Graphics.GAL/RectangleF.cs
new file mode 100644
index 00000000..c58aabf0
--- /dev/null
+++ b/Ryujinx.Graphics.GAL/RectangleF.cs
@@ -0,0 +1,18 @@
+namespace Ryujinx.Graphics.GAL
+{
+ public struct RectangleF
+ {
+ public float X { get; }
+ public float Y { get; }
+ public float Width { get; }
+ public float Height { get; }
+
+ public RectangleF(float x, float y, float width, float height)
+ {
+ X = x;
+ Y = y;
+ Width = width;
+ Height = height;
+ }
+ }
+}