Jump to content

POINTL: Difference between revisions

From EDM2
Anakor (talk | contribs)
No edit summary
 
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== POINTL ==
Point structure (long integers).
 
Point structure (long integers).  


=== Type ===
=== Type ===
[[LONG]]  x;
LONG  y;


typedef struct _POINTL {
==== C Declaration Method ====
  [[OS2 API:DataType:LONG|LONG]] x;
typedef struct
  [[OS2 API:DataType:LONG|LONG]] y;
} POINTL;


=== 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>


x  X-coordinate.
[[Category:PM Data type]]
y  Y-coordinate.

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 ;