Q3MacDrawContext_SetGrafPort
You can use theQ3MacDrawContext_SetGrafPortfunction to set the QuickDraw graphics port associated with a Macintosh draw context.
TQ3Status Q3MacDrawContext_SetGrafPort ( TQ3DrawContextObject drawContext, const CGrafPtr grafPort);
drawContext- A Macintosh draw context object.
grafPort- The QuickDraw graphics port to be associated with the specified draw context.
DESCRIPTION
TheQ3MacDrawContext_SetGrafPortfunction sets the QuickDraw graphics port associated with the draw context specified by thedrawContextparameter to the graphics port specified by thegrafPortparameter. The two-dimensional graphics library associated with the specified draw context must bekQ3Mac2DLibraryQuickDraw.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help