public IntRect(int x, int y, IntSize size) { this.x = x; this.y = y; this.width = size.width; this.height = size.height; }
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); }
public HdrBuffer(IntSize size) { Values = new double3 [size.width, size.height]; this.Size = size; }