Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 3 - QuickDraw Drawing / QuickDraw Drawing Reference
Routines / Creating and Managing Polygons


KillPoly

To release the memory occupied by a polygon, use the KillPoly procedure.

PROCEDURE KillPoly (poly:\xDDPolyHandle);
poly
A handle to the polygon to dispose of.
DESCRIPTION
The KillPoly procedure releases the memory used by the polygon whose handle you pass in the poly parameter. Use KillPoly only when you're completely through with a polygon.

SPECIAL CONSIDERATIONS
The KillPoly 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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996