Important: The information in this document is obsolete and should not be used for new development.
ClosePoly
To complete the collection of lines that defines your polygon, use theClosePoly
procedure.
PROCEDURE ClosePoly;DESCRIPTION
TheClosePoly
procedure stops collecting line-drawing commands for the currently open polygon and computes thepolyBBox
field of thePolygon
record. You should callClosePoly
only once for every call to theOpenPoly
function.The
ClosePoly
procedure uses theShowPen
procedure, balancing the call to theHidePen
procedure made by theOpenPoly
function.SPECIAL CONSIDERATIONS
TheClosePoly
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
Listing 3-10 on page 3-26 illustrates how to use this procedure when creating a triangle.