CDC::PolyPolyline
TOC
Collapse the table of content
Expand the table of content

CDC::PolyPolyline

 

Draws multiple series of connected line segments.


      BOOL PolyPolyline(
   const POINT* lpPoints,
   const DWORD* lpPolyPoints,
   int nCount 
);

lpPoints

Points to an array of structures that contains the vertices of the polylines. The polylines are specified consecutively.

lpPolyPoints

Points to an array of variables specifying the number of points in the lpPoints array for the corresponding polygon. Each entry must be greater than or equal to 2.

nCount

Specifies the total number of counts in the lpPolyPoints array.

Nonzero if the function is successful; otherwise 0.

The line segments are drawn by using the current pen. The figures formed by the segments are not filled. The current position is neither used nor updated by this function.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft