VpePolygon

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

VpePolygon

Previous pageReturn to chapter overviewNext page

Creates a Polygon object with the current pen, background and hatchstyle. After a call to this method, the created Polygon Object is ready for use with the method VpeAddPolygonPoint().

VpeHandle VpePolygon(

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 VpeAddPolygonPoint()).

Remarks:

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