The Polyline function draws a series of line segments by connecting the points in the specified array.
BOOL Polyline(
|
HDC hdc, |
// handle of device context |
|
CONST POINT *lppt, |
// address of array containing endpoints |
|
int cPoints |
// number of points in the 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.
The lines are drawn from the first point through subsequent points by using the current pen. Unlike the LineTo function, the Polyline function neither uses nor updates the current position.
LineTo, MoveToEx, POINT, PolylineTo, PolyPolyline
See also:
| file: /Techref/os/win/api/win32/func/src/f67_18.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2012/2/10 13:59,
38.107.179.230:LOG IN |
| ©2012 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://www.piclist.com/techref/os/win/api/win32/func/src/f67_18.htm"> Polyline</A> |
| Did you find what you needed? |
LCD Front Panel Set: $8.99!
- 2x16 LCD HD44780 controller - 4 push buttons - 3 LEDs - 2x12 header |
|
.