Prev Next
The POINTTOPOINTS macro converts a POINT
structure to a POINTS structure.
POINTS POINTTOPOINTS(
POINT pt
|
// coordinates of a point
|
);
|
|
Parameters
-
pt
-
Specifies the POINT structure to convert.
Return Values
The return value is a POINTS structure.
Remarks
The POINTTOPOINTS macro is defined as follows:
#define POINTTOPOINTS(pt) \
(MAKELONG((short) ((pt).x), (short) ((pt).y)))
See Also
MAKEPOINTS, POINTSTOPOINT
file: /Techref/os/win/api/win32/mac/src/mac03_7.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 14:57,
|
| ©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://sxlist.com/techref/os/win/api/win32/mac/src/mac03_7.htm"> POINTTOPOINTS</A> |
Did you find what you needed?
|
.
|