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