Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LineDDAProc callback function

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.

Syntax


VOID CALLBACK LineDDAProc(
  _In_ int    X,
  _In_ int    Y,
  _In_ LPARAM lpData
);

Parameters

X [in]

Specifies the x-coordinate, in logical units, of the current point.

Y [in]

Specifies the y-coordinate, in logical units, of the current point.

lpData [in]

Pointer to the application-defined data.

Return value

This function does not return a value.

Remarks

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

See also

Lines and Curves Overview
Line and Curve Functions
LineDDA

 

 

Show: