Jump to content

POINTL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
Line 11: Line 11:
*x - X-coordinate
*x - X-coordinate
*y - Y-coordinate
*y - 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]]

Revision as of 20:49, 25 June 2023

Point structure (long integers).

Type

LONG  x;
LONG  y;

C Declaration Method

typedef struct

Fields

  • x - X-coordinate
  • y - Y-coordinate

= Example Code

typedef struct _POINTL {
  LONG     x;  /*  X-coordinate. */
  LONG     y;  /*  Y-coordinate. */
} POINTL;

typedef   POINTL   * PPOINTL ;