Rectangle() private method

private Rectangle ( IntPtr hDC, int l, int t, int r, int b ) : bool
hDC System.IntPtr
l int
t int
r int
b int
return bool
Example #1
0
 public static void dbugDrawTextOrigin(IntPtr hdc, int x, int y)
 {
     MyWin32.Rectangle(hdc, x, y, x + 20, y + 20);
     MyWin32.MoveToEx(hdc, x, y, 0);
     MyWin32.LineTo(hdc, x + 20, y + 20);
     MyWin32.MoveToEx(hdc, x, y + 20, 0);
     MyWin32.LineTo(hdc, x + 20, y);
 }