Supported Browsers Home   
MGL_getViewport Previous   
MGL_getViewportOrg Next   
External Functions Up   

MGL_getViewportDC

Returns the currently active viewport for a specific DC.

Declaration

void MGLAPI MGL_getViewportDC(
    MGLDC *dc,
    rect_t *view)

Prototype In

mgraph.h

Parameters

dc

Device context to change viewport for

view

Place to store the current viewport

 

Description

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

See Also

MGL_getViewport, MGL_setViewport, MGL_setRelViewport, MGL_setViewportOrg, MGL_clearViewport, MGL_setClipRect

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