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


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

PROCEDURE KillPoly (poly:\xDDPolyHandle);
A handle to the polygon to dispose of.
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.

The KillPoly procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.

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