![[index]](../icons/index.gif)
Next: Strings
Up: DrawClear and Flip
Previous: Ellipses
-
((draw-polygon viewport) posn-list posn color)
Takes a viewport descriptor. It returns a function that
draws a polygon border in the viewport using posn-list for the
polygon vertices and posn as an offset for the polygon.
The optional color argument defaults to black.
-
((clear-polygon viewport) posn-list posn)
Takes a viewport descriptor. It returns a function that
erases a polygon border in the viewport using posn-list for the
polygon vertices and posn as an offset for the polygon.
-
((flip-polygon viewport) posn-list posn)
Takes a viewport descriptor. It returns a function that
flips a polygon border in the viewport using posn-list for the
polygon vertices and posn as an offset for the polygon.
-
((draw-solid-polygon viewport) posn-list posn color)
Takes a viewport descriptor. It returns a function that
paints a solid polygon in the viewport using posn-list for the
polygon vertices and posn as an offset for the polygon.
The optional color argument defaults to black.
-
((clear-solid-polygon viewport) posn-list posn)
Takes a viewport descriptor. It returns a function that
erases a solid polygon in the viewport using posn-list for the
polygon vertices and posn as an offset for the polygon.
-
((flip-solid-polygon viewport) posn-list posn)
Takes a viewport descriptor. It returns a function that
flips a solid polygon in the viewport using posn-list for the
polygon vertices and posn as an offset for the polygon.
PLT