public override bool Equals(object obj)
 {
     if (obj is RECT2)
     {
         RECT2 ob = (RECT2)obj;
         if (Left <= -25600 && ob.Left <= -25600)
         {
             // avoid false unequal due to slight value difference
             return(true);
         }
     }
     else
     {
         return(false);
     }
     return(base.Equals(obj));
 }
Exemple #2
0
 public static extern bool GetWindowRect(IntPtr hWnd, ref RECT2 lpRect);
Exemple #3
0
 public static extern bool IntersectRect([Out] out RECT2 lprcDst, [In] ref RECT2 lprcSrc1, [In] ref RECT2 lprcSrc2);