Function Polyline

Top 

Declaration:

void Polyline(unsigned long handle, unsigned int points[], int n);

Description

Connects the points, whose coordinate pairs are transferred in the points array, with a line. The n parameter is the amount of points. Each subsequent horizontal coordinate should be greater than the previous one.

Example

  Polyline(handle, { 0, 0,

                     10, 20,

                     12, 30,

                     78, 10 }, 4);