POINTL: Difference between revisions
Appearance
mNo edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
=== Fields === | === Fields === | ||
;x (LONG) | |||
* | :X-coordinate | ||
;y (LONG) | |||
:Y-coordinate | |||
=== Example Code === | |||
<PRE> | |||
typedef struct _POINTL { | |||
LONG x; /* X-coordinate. */ | |||
LONG y; /* Y-coordinate. */ | |||
} POINTL; | |||
typedef POINTL * PPOINTL ; | |||
</PRE> | |||
[[Category:PM Data type]] | [[Category:PM Data type]] |
Latest revision as of 18:55, 25 May 2024
Point structure (long integers).
Type
LONG x; LONG y;
C Declaration Method
typedef struct
Fields
- x (LONG)
- X-coordinate
- y (LONG)
- Y-coordinate
Example Code
typedef struct _POINTL { LONG x; /* X-coordinate. */ LONG y; /* Y-coordinate. */ } POINTL; typedef POINTL * PPOINTL ;