Copyright ® (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

 draw_polygon

[This is preliminary specification and subject to change.]

Group

Graphics and Pictures  (more...)

Type

determ

Syntax

draw_polygon( WINDOW WinHandle, PNTLIST Vertices)

Flow patterns

(i, i)

 

Description:

Draws a polygon.
The system closes open polygons by drawing a line from the last vertex to the first. Polygons are drawn by using the windows current pen and filled by using the windows current brush. WinHandle should specify one of the drawable types. Vertices is a list of polygon vertices.

Sample:

No sample

Copyright © 1997-2013 EDMGROUP (Australia)