LineTo() private méthode

private LineTo ( IntPtr hdc, int nXEnd, int nYEnd ) : int
hdc System.IntPtr
nXEnd int
nYEnd int
Résultat int
Exemple #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);
 }