VpeAddPolygonPoint

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

VpeAddPolygonPoint

Previous pageReturn to chapter overviewNext page

Adds a new point to the polygon object specified by the handle hPolygon.

void VpeAddPolygonPoint(

VpeHandle hDoc,

VpeHandle hPolygon,

VpeCoord x,

VpeCoord y

)

VpeHandle hDoc

Document Handle

VpeHandle hPolygon

polygon object handle

VpeCoord x, y

coordinate of new point

The first element contains the starting coordinate

Each other element contains the next coordinate where to draw to

If an element is (-1, -1), the next coordinate is interpreted as a NEW starting coordinate