LineDDAProc

The LineDDAProc function is an application-defined callback function used with the LineDDA function. It is used to process coordinates. The LINEDDAPROC type defines a pointer to this callback function. LineDDAProc is a placeholder for the application-defined function name.

VOID CALLBACK LineDDAProc(
  int X,          // x-coordinate of point being evaluated
  int Y,          // y-coordinate of point being evaluated
  LPARAM lpData   // pointer to application-defined data
);
 

Parameters

X
Specifies the x-coordinate of the current point.
Y
Specifies the y-coordinate of the current point.
lpData
Pointer to the application-defined data.

Remarks

An application registers a LineDDAProc function by passing its address to the LineDDA function.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.
  Import Library: User-defined.

See Also

Lines and Curves Overview, Line and Curve Functions, LineDDA