Prev Next
The POINTSTOPOINT macro copies the contents of a POINTS
structure into a POINT structure.
POINTSTOPOINT(
POINT pt,
|
// POINT structure
|
POINTS pts
|
// POINTS structure
|
);
|
|
Parameters
-
pt
-
Specifies the POINT structure to receive the
contents of the POINTS structure.
-
pts
-
Specifies the POINTS structure to copy.
Remarks
The POINTSTOPOINT macro is defined as follows:
#define POINTSTOPOINT(pt, pts) {(pt).x = (SHORT) LOWORD(pts); \
(pt).y = (SHORT) HIWORD(pts);}
See Also
MAKEPOINTS, POINTTOPOINTS
file: /Techref/os/win/api/win32/mac/src/mac03_6.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/13 01:53,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/mac/src/mac03_6.htm"> POINTSTOPOINT</A> |
Did you find what you needed?
|
|