Jump to content

GRADIENTL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
Line 10: Line 10:
;y (LONG):Y-component of direction.
;y (LONG):Y-component of direction.


==Sample Code==
<PRE>
<PRE>
typedef struct _GRADIENTL {
typedef struct _GRADIENTL {

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;