The PolylineTo function draws one or more straight lines.
BOOL PolylineTo(
HDC hdc, |
// handle of device context |
CONST POINT *lppt, |
// address of array of points |
DWORD cCount |
// number of points in array |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
A line is drawn from the current position to the first point specified by the lppt parameter by using the current pen. For each additional line, the function draws from the ending point of the previous line to the next point specified by lppt.
PolylineTo moves the current position to the ending point of the last line.
If the line segments drawn by this function form a closed figure, the figure is not filled.
LineTo, MoveToEx, POINT, Polyline
file: /Techref/os/win/api/win32/func/src/f67_19.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/10 09:08,
18.221.80.42:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/func/src/f67_19.htm"> PolylineTo</A> |
Did you find what you needed? |