Q3View_SetDrawContext
You can use theQ3View_SetDrawContextfunction to set the draw context associated with a view.
TQ3Status Q3View_SetDrawContext ( TQ3ViewObject view, TQ3DrawContextObject drawContext);
view- A view.
drawContext- A draw context object.
DESCRIPTION
TheQ3View_SetDrawContextfunction attaches the draw context specified by thedrawContextparameter to the view specified by theviewparameter. The reference count of the specified draw context is incremented. In addition, if some other draw context was already attached to the specified view, the reference count of that draw context is decremented.SEE ALSO
For information on creating and manipulating draw contexts, see the chapter "Draw Context Objects" in this book.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help