Silverfrost Logo About Us | Contact Us
 

DRAW_POLYLINE@

Platform

Win32(ClearWin+)

Purpose

To draw a number of connected straight lines.

Syntax

SUBROUTINE DRAW_POLYLINE@(IX,IY,N,ICOL)
INTEGER IX(N),IY(N)
INTEGER N,ICOL

Description

DRAW_POLYLINE@ draws a straight line from (IX(1), IY(1)) to (IX(2), IY(2)), and continues until (IX(N), IY(N)). That is, it joins N points with straight lines. ICOL specifies the colour value using the current colour mode. For a closed polygon, simply set the last pair of coordinates equal to the first pair.

See also

DRAW_LINE_BETWEEN@, DRAW_FILLED_POLYGON@

 

 

Copyright © 1999-2017 Silverfrost Limited