




A graphics port.
A sequence of sequences of real numbers.
A boolean.
A boolean.
A keyword.
General graphics port drawing arguments.
The 
draw-polygons
 function draws several polygons. The 
description
 argument should be a sequence containing sequences with alternating 
x
 and 
y
 values representing the vertices. The 
description
 arguments consists of groups of 
points
 as in draw-polygon. When 
closed
 is non-
nil
 the edge from the last vertex to the first to be drawn. When 
filled
 is non-
nil
 a filled, closed polygons are drawn; the 
closed
 argument is ignored if 
filled
 is non-
nil
. 
transform, foreground, background, operation, thickness, scale-thickness, dashed, dash, line-end-style, line-joint-style
 and 
mask
 from the 
port
's graphics state (see make-graphics-state) are all used. Additionally on Unix only, 
stipple, pattern
, 
mask-x,
 
mask-y
 are used. The 
fill-rule
 specifies how overlapping regions are filled. Possible values are 
:even-odd
 and 
:winding
.
This draws two hexagons, one inside the other:
(gp:draw-polygons oo
'((150 100 200 100 235 150 200
200 150 200 115 150)
(140 90 210 90 250 150
210 210 140 210 100 150))
:closed t)