ImageCrop.cs 645 B

12345678910111213141516171819202122232425262728
  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 ImageCrop(
  12. int left,
  13. int right,
  14. int top,
  15. int bottom,
  16. bool flipX,
  17. bool flipY)
  18. {
  19. Left = left;
  20. Right = right;
  21. Top = top;
  22. Bottom = bottom;
  23. FlipX = flipX;
  24. FlipY = flipY;
  25. }
  26. }
  27. }