windows_programming_notes.nbk: Home | Index | Next Page: List of Messages to Windows | Previous Page: KillTimer
The LineTo function draws a line from the current position up to, but not including, the specified point.
BOOL LineTo( HDC hdc, // device context handle int nXEnd, // x-coordinate of ending point int nYEnd // y-coordinate of ending point );
The coordinates of the line's ending point are specified in logical units.
The line is drawn by using the current pen and, if the pen is a geometric pen, the current brush.
If LineTo succeeds, the current position is set to the specified ending point.
For an example, see Drawing Markers.
windows_programming_notes.nbk: Home | Index | Next Page: List of Messages to Windows | Previous Page: KillTimer
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time