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 / Drawing Polygons


ErasePoly

To erase a polygon, use the ErasePoly procedure.

PROCEDURE ErasePoly (poly:\xDDPolyHandle);
poly
A handle to the polygon to erase.
DESCRIPTION
Using the patCopy pattern mode, the ErasePoly procedure draws the interior of the polygon whose handle you pass in the poly parameter with the background pattern for the current graphics port.

This procedure leaves the location of the graphics pen unchanged.

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

SEE ALSO
The patCopy pattern mode is described in "Boolean Transfer Modes With 1-Bit Pixels" beginning on page 3-7.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996