PtInIconID
PtInIconID Hit test a point against indicated icon
#include <Icons.h> Finder Interface
Boolean PtInIconID (testRect, iconRect, alignment, iconID );
Point testPoint ; point to test
Rect *iconRect ; rect in which icon was last drawn
short alignment ; alignment with which icon was last drawn
Handle iconID ; resource id of icon family
returns Boolean; TRUE = testRect intersects icon
PtInIconID returns TRUE if testPoint is in the icon mask of the appropriate
member of the icon family with resource id iconID. iconRect, alignment, and
the current GrafPort should be the same as when the icon was last drawn. It
is NOT necessary to explicitly create an icon family (using NewIconSuite ,
GetIconSuite or MakeIconCache ) in order to use this routine.

Notes: This routine is not currently documented in MPW header files (hence, it is
not in any THINK C or THINK Pascal header file either). The information
given above comes from Macintosh Technical Note #306. This tech. note
also gives the inline glue for the call as follows:
pascal Boolean PtInIconID (Point testPoint,
const Rect *iconRect, short alignment, short iconID)
= {0x303C, 0x060D, 0xABC9};