• 1.摘要

linedda

基本内容

LineDDA

The LineDDA function determines which pixels should be highlighted for a line defined by the specified starting and ending points.

BOOL LineDDA(

int nXStart, // x-coordinate of starting point

int nYStart, // y-coordinate of starting point

int nXEnd, // x-coordinate of ending point

int nYEnd, // y-coordinate of ending point

LINEDDAPROC lpLineFunc, // callback function

LPARAM lpData // application-defined data

);

Parameters

nXStart

[in] Specifies the x-coordinate, in logical units, of the line's starting point.

nYStart

[in] Specifies the y-coordinate, in logical units, of the line's starting point.

nXEnd

[in] Specifies the x-coordinate, in logical units, of the line's ending point.

nYEnd