ImageCrop.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace Ryujinx.Graphics.GAL
  2. {
  3. public 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. public ImageCrop(
  15. int left,
  16. int right,
  17. int top,
  18. int bottom,
  19. bool flipX,
  20. bool flipY,
  21. bool isStretched,
  22. float aspectRatioX,
  23. float aspectRatioY
  24. )
  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. }