Supported Browsers Home   
MGL_pixelFast Previous   
MGL_polyPoint Next   
External Functions Up   

MGL_polyLine

Draws a set of connected lines.

Declaration

void MGLAPI MGL_polyLine(
    int count,
    point_t *vArray)

Prototype In

mgraph.h

Parameters

count

Number of vertices in polyline

vArray

Array of vertices in the polyline

 

Description

This function draws a set of connected line (a polyline). The coordinates of the polyline are specified by vArray, and the lines are drawn in the current drawing attributes.

Note that the polyline is not closed by default, so if you wish to draw the outline of a polygon, you will need to add the starting point to the end of the vertex array.

See Also

MGL_polyMarker, MGL_polyPoint

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com