MoveToEx() private method

private MoveToEx ( IntPtr hdc, int X, int Y, int lpPoint ) : bool
hdc System.IntPtr
X int
Y int
lpPoint int
return bool
示例#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);
 }