12 Managing Macintosh Draw Contexts
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.
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
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker