示例#1
0
 public void CopyFrom(MFVideoNormalizedRect from)
 {
     left   = from.left;
     top    = from.top;
     right  = from.right;
     bottom = from.bottom;
 }
示例#2
0
        public override bool Equals(object obj)
        {
            if (obj is MFVideoNormalizedRect)
            {
                MFVideoNormalizedRect cmp = (MFVideoNormalizedRect)obj;

                return(right == cmp.right && bottom == cmp.bottom && left == cmp.left && top == cmp.top);
            }

            return(false);
        }