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.