Supported Browsers Home   
MGL_setRelViewport Previous   
MGL_setResult Next   
External Functions Up   

MGL_setRelViewportDC

Sets a viewport relative to the current viewport for a specific DC.

Declaration

void MGLAPI MGL_setRelViewportDC(
    MGLDC *dc,
    rect_t view)

Prototype In

mgraph.h

Parameters

dc

Device context to change viewport for

view

Bounding rectangle for the new viewport

 

Description

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

See Also

MGL_setRelViewport, MGL_getViewport, MGL_setViewport, MGL_clearViewport, MGL_setClipRect, MGL_setViewportOrg

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