UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wingdi.LineTo |
LineTo function (wingdi.h) |
The LineTo function draws a line from the current position up to, but not including, the specified point. |
|
gdi\lineto.htm |
gdi |
a31b3a9a-110f-4cdf-89d9-19937a2e40b4 |
12/05/2018 |
LineTo, LineTo function [Windows GDI], _win32_LineTo, gdi.lineto, wingdi/LineTo |
wingdi.h |
Windows.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Gdi32.lib |
Gdi32.dll |
Windows |
19H1 |
|
|
|
|
|
|
The LineTo function draws a line from the current position up to, but not including, the specified point.
Handle to a device context.
Specifies the x-coordinate, in logical units, of the line's ending point.
Specifies the y-coordinate, in logical units, of the line's ending point.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
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.