Jump to content

POINTL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== POINTL ==
Point structure (long integers).
Point structure (long integers).  


=== Type ===
=== Type ===
Line 10: Line 9:


=== Fields ===
=== Fields ===
*x X-coordinate.
;x (LONG)
*y Y-coordinate.
:X-coordinate
;y (LONG)
:Y-coordinate


[[Category:Data type]]
=== Example Code ===
<PRE>
typedef struct _POINTL {
  LONG    x;  /*  X-coordinate. */
  LONG    y;  /*  Y-coordinate. */
} POINTL;
 
typedef  POINTL  * PPOINTL ;
</PRE>
 
[[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 ;