12 Managing Macintosh Draw Contexts

12 Q3MacDrawContext_SetGrafPort

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


The Q3MacDrawContext_SetGrafPort function sets the QuickDraw graphics port associated with the draw context specified by the drawContext parameter to the graphics port specified by the grafPort parameter. The two-dimensional graphics library associated with the specified draw context must be kQ3Mac2DLibraryQuickDraw.

DESCRIPTION

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