Next Prev Up Top Contents Index

draw-polygon

Function
Summary

Draws a polygon.

Signature

draw-polygon port points &rest args &key filled closed fill-rule

Arguments

port

A graphics port

points

A description sequence

filled

A boolean

closed

A boolean

fill-rule

A keyword

args

General graphics port drawing arguments

Description

The draw-polygon function draws a polygon using alternating x and y values in the points argument as the vertices. 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 polygon is 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 , stipple, pattern , mask-x, mask-y , and mask from the port 's graphics state are all used. The fill-rule specifies how overlapping regions are filled. Possible values are :even-odd and :winding .


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index