public static Size2I operator -(Size2I nLeft, Point2I nRight) { Size2I result_ = new Size2I(); result_._setWidth(nLeft._getWidth() - nRight._getX()); result_._setHeight(nLeft._getHeight() - nRight._getY()); return result_; }
public static Size2I operator +(Size2I nLeft, Size2I nRight) { Size2I result_ = new Size2I(); result_._setWidth(nLeft._getWidth() + nRight._getWidth()); result_._setHeight(nLeft._getHeight() + nRight._getHeight()); return result_; }