Esempio n. 1
0
        private void LineTo(IntPtr hDC, int x1, int y1, int x2, int y2)
        {
            LPPOINT2 lppt = new LPPOINT2();

            lppt.x1 = x1;
            lppt.y1 = y1;
            lppt.x2 = x2;
            lppt.y2 = y2;
            Polyline(hDC, ref lppt, 2);
        }
Esempio n. 2
0
 private static extern int Polyline(IntPtr hdc, ref LPPOINT2 lppt, int cPoints);
Esempio n. 3
0
 private static extern int Polyline(IntPtr hdc, ref LPPOINT2 lppt, int cPoints);
Esempio n. 4
0
 private void LineTo(IntPtr hDC, int x1, int y1, int x2, int y2)
 {
     LPPOINT2 lppt = new LPPOINT2();
     lppt.x1 = x1;
     lppt.y1 = y1;
     lppt.x2 = x2;
     lppt.y2 = y2;
     Polyline(hDC, ref lppt, 2);
 }