Exemplo n.º 1
0
 public IntRect(int x, int y, IntSize size)
 {
     this.x      = x;
     this.y      = y;
     this.width  = size.width;
     this.height = size.height;
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (obj == null || !(obj is IntSize))
            {
                return(false);
            }

            IntSize sz = ( IntSize )obj;

            return(width == sz.width && height == sz.height);
        }
Exemplo n.º 3
0
 public HdrBuffer(IntSize size)
 {
     Values    = new double3 [size.width, size.height];
     this.Size = size;
 }