A LineDDAProc function is an application-defined callback function that processes coordinates from the LineDDA function. A value of type LINEDDAPROC is a pointer to such a function.
VOID CALLBACK LineDDAProc(
int X, | // x-coordinate of point being evaluated |
int Y, | // y-coordinate of point being evaluated |
LPARAM lpData | // address of application-defined data |
); |
Parameters
X
Specifies the x-coordinate of the current point.
Y
Specifies the y-coordinate of the current point.
lpData
Points to the application-defined data.
Remarks
LineDDAProc is a placeholder for an application-defined function name.
An application registers a LineDDAProc function by passing its address to the LineDDA function.
See Also