Jump to content

GRADIENTL: Difference between revisions

From EDM2
Created page with "Direction-vector structure. ==Type== LONG x; LONG y; ==C Declaration Method== typedef struct ==Fields== ;x (LONG) :X-component of direction. ;y (LONG) :Y-compon..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
Direction-vector structure.  
Direction-vector structure.


==Type==
==Type==
Line 7: Line 7:
  typedef struct
  typedef struct
==Fields==
==Fields==
;x (LONG)
;x (LONG):X-component of direction.
:X-component of direction.
;y (LONG):Y-component of direction.
;y (LONG)
 
:Y-component of direction.
==Example Code==
<PRE>
<PRE>
typedef struct _GRADIENTL {
typedef struct _GRADIENTL {
Line 21: Line 19:
</PRE>
</PRE>


[[Category:Data type]]
[[Category:PM Data type]]

Revision as of 06:31, 21 February 2020

Direction-vector structure.

Type

 LONG     x;
 LONG     y;

C Declaration Method

typedef struct

Fields

x (LONG)
X-component of direction.
y (LONG)
Y-component of direction.
typedef struct _GRADIENTL {
  LONG     x;  /*  X-component of direction. */
  LONG     y;  /*  Y-component of direction. */
} GRADIENTL;

typedef GRADIENTL *PGRADIENTL;