aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/ImageCrop.cs
blob: 4428eee9727bd9286a7fbb20f756d7389d5a17c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace Ryujinx.Graphics.GAL
{
    public struct ImageCrop
    {
        public int  Left   { get; }
        public int  Right  { get; }
        public int  Top    { get; }
        public int  Bottom { get; }
        public bool FlipX  { get; }
        public bool FlipY  { get; }

        public ImageCrop(
            int  left,
            int  right,
            int  top,
            int  bottom,
            bool flipX,
            bool flipY)
        {
            Left   = left;
            Right  = right;
            Top    = top;
            Bottom = bottom;
            FlipX  = flipX;
            FlipY  = flipY;
        }
    }
}