
POINTSTOPOINT宏将POINTS结构的内容复制到POINT结构中。
POINTSTOPOINT(
POINT 【pt】, | // POINT结构en |
POINTS 【分】 | // POINTS结构en |
); | |
参数
【pt】
指定POINT结构以接收POINTS结构的内容。
【分】
指定要复制的POINTS结构。
备注
POINTSTOPOINT宏定义如下:
#define POINTSTOPOINT(pt, pts) {(pt).x = (SHORT) LOWORD(pts); \
(pt).y = (SHORT) HIWORD(pts);}
也可以看看
MAKEPOINTS, POINTTOPOINTS