예제 #1
0
 public static POINT POINTSTOPOINT(POINTS pts)
 {
     return(new POINT {
         x = (short)LOWORD(*(uint *)&pts),
         y = (short)HIWORD(*(uint *)&pts),
     });
 }
예제 #2
0
 public static int POINTTOPOINTS(POINTS pt) => MAKELONG((ushort)pt.x, (ushort)pt.y);