TQASetNoticeMethod
A drawing engine must define a method to set the notice method of a draw context.
typedef TQAError (*TQASetNoticeMethod) ( const TQADrawContext *drawContext, TQAMethodSelector method, TQANoticeMethod completionCallBack, void *refCon);
drawContext- A draw context.
method- A method selector. See "Notice Method Selectors" (page 1-68) for a description of the available method selectors.
completionCallBack- A pointer to the desired draw context notice method of the specified type. See "Notice Methods" (page 1-147) for information about notice methods.
refCon- A reference constant for the specified notice method. This value is passed unchanged to the notice method when it is called.
DESCRIPTION
YourTQASetNoticeMethodfunction should set the notice method of typemethodof the draw context specified by thedrawContextparameter to the function pointed to by thecompletionCallBackparameter.TQASetNoticeMethodshould also set the reference constant of that method to the value specified by therefConparameter.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help