MGL_setViewportDC

Sets the currently active viewport for a specific DC.

Declaration

void MGLAPI MGL_setViewportDC(
MGLDC *dc,
rect_t view)

Prototype In

mgraph.h

Parameters

dc | Device context to change viewport for
view | New global viewport bounding rectangle

Description

This function is the same as MGL_setViewport, however the device context does not have to be the current device context.

See Also

MGL_setViewport, MGL_getViewport, MGL_setRelViewport, MGL_clearViewport, MGL_setClipRect, MGL_setViewportOrg

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com