win32gui.LineTo

LineTo(hdc, XEnd, YEnd)

Draw a line from current position to specified point

Parameters

hdc : PyHANDLE

Handle to a device context

XEnd : int

Horizontal position in logical units

YEnd : int

Vertical position in logical units