Carbon


LDraw

Header: Lists.h Carbon status: Supported

Draws a cell in a list.

void LDraw (
    Cell theCell, 
    ListHandle lHandle
);
theCell

The cell to draw.

lHandle

The list containing the cell identified by the parameter theCell.

DISCUSSION

The List Manager makes the list’s graphics port the current port, sets the clipping region to the cell’s rectangle, and calls the list definition function to draw the cell. It restores the clipping region and port before exiting.

Ordinarily, you should only need to use this function when the automatic drawing mode has been disabled.

SPECIAL CONSIDERATIONS

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.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 3/23/2000)