示例#1
0
文件: Size2I.cs 项目: zyouhua/nvwa
 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_;
 }
示例#2
0
文件: Size2I.cs 项目: zyouhua/nvwa
 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_;
 }