VpePolyLine

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

VpePolyLine

Previous pageReturn to chapter overviewNext page

Creates a PolyLine Object using the current pen. After a call to this method, the created PolyLine Object is ready for use with the method VpeAddPolyPoint().

VpeHandle VpePolyLine(

VpeHandle hDoc,

unsigned int size

)

VpeHandle hDoc

Document Handle

unsigned int size

the size of the array (count of elements, NOT bytes)

Returns:

A handle of the object (this can be used in further calls to VpeAddPolyPoint()).

Remarks:

If you have to draw a huge number of lines at once, this method is much faster and saves memory compared to the method VpeLine().

 

There is also an "Important Note About Pens, Lines, Frames, Circles and Ellipses" in the Programmer's Manual.