12 Managing Macintosh Draw Contexts

12 Q3MacDrawContext_SetGXViewPort

You can use the Q3MacDrawContext_SetGXViewPort function to set the QuickDraw GX view port associated with a Macintosh draw context.

TQ3Status Q3MacDrawContext_SetGXViewPort (
TQ3DrawContextObject drawContext, 
const gxViewPort viewPort);
drawContext A Macintosh draw context object.
viewPort The QuickDraw GX view port to be associated with the specified draw context.

DESCRIPTION


The Q3MacDrawContext_SetGXViewPort function sets the QuickDraw GX view port associated with the draw context specified by the drawContext parameter to the view port specified by the viewPort parameter. The two-dimensional graphics library associated with the specified draw context must be kQ3Mac2DLibraryQuickDrawGX.

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