draw_polygon/[2,3]
draw_polygon(+Drawable, +Points) draw_polygon(+Drawable, +Gc, +Points)
Draw a polygon in Drawable. Points is a list of point(
X,
Y)
terms,
each specifying the location of one vertex of the polygon.
This procedure does not correspond directly to any Xlib function.