/ src / Ryujinx.Graphics.GAL / ImageCrop.cs
ImageCrop.cs
 1  namespace Ryujinx.Graphics.GAL
 2  {
 3      public readonly struct ImageCrop
 4      {
 5          public int Left { get; }
 6          public int Right { get; }
 7          public int Top { get; }
 8          public int Bottom { get; }
 9          public bool FlipX { get; }
10          public bool FlipY { get; }
11          public bool IsStretched { get; }
12          public float AspectRatioX { get; }
13          public float AspectRatioY { get; }
14  
15          public ImageCrop(
16              int left,
17              int right,
18              int top,
19              int bottom,
20              bool flipX,
21              bool flipY,
22              bool isStretched,
23              float aspectRatioX,
24              float aspectRatioY)
25          {
26              Left = left;
27              Right = right;
28              Top = top;
29              Bottom = bottom;
30              FlipX = flipX;
31              FlipY = flipY;
32              IsStretched = isStretched;
33              AspectRatioX = aspectRatioX;
34              AspectRatioY = aspectRatioY;
35          }
36      }
37  }