13 Creating and Configuring Views

13 Q3View_SetDrawContext

You can use the Q3View_SetDrawContext function 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


The Q3View_SetDrawContext function attaches the draw context specified by the drawContext parameter to the view specified by the view parameter. 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.

DESCRIPTION
SEE ALSO

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker