GRADIENTL: Difference between revisions
Appearance
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..." |
|||
(One intermediate revision by one other user not shown) | |||
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. | ==Sample Code== | ||
== | |||
<PRE> | <PRE> | ||
typedef struct _GRADIENTL { | typedef struct _GRADIENTL { | ||
Line 21: | Line 20: | ||
</PRE> | </PRE> | ||
[[Category:Data type]] | [[Category:PM Data type]] |
Latest revision as of 21:01, 25 June 2023
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.
Sample Code
typedef struct _GRADIENTL { LONG x; /* X-component of direction. */ LONG y; /* Y-component of direction. */ } GRADIENTL; typedef GRADIENTL *PGRADIENTL;