![]() |
LRect |
||||
Header: | Lists.h | Carbon status: | Supported | |
Finds a rectangle that encloses a cell.
void LRect ( Rect *cellRect, Cell theCell, ListHandle lHandle );
On return, a pointer to the rectangle enclosing the cell, specified in local coordinates of the lists graphics port. This rectangle is not necessarily within the lists rectangle.
The cell for which an enclosing rectangle is sought. This function does not check whether the cell is actually contained within the lists visible rectangle.
If this parameter specifies cell coordinates not contained within the list, this function sets the cellRect parameter to (0,0,0,0).
The list containing the cell specified by the parameter theCell.
Because the List Manager automatically draws cells, few applications need to call this function directly.
This function is contained in a resource of resource type 'PACK'. Calling it could result in the loading of the package resource and the allocation of memory. Thus, your application should not call this function from within an interrupt, such as in a completion function or VBL task.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)