LineTo() 개인적인 메소드

private LineTo ( IntPtr hdc, int nXEnd, int nYEnd ) : int
hdc System.IntPtr
nXEnd int
nYEnd int
리턴 int
예제 #1
0
파일: MyWin32.cs 프로젝트: BiDuc/PixelFarm
 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);
 }