MGL_clearViewport

Clears the currently active viewport.

Declaration

void MGLAPI MGL_clearViewport(void)

Prototype In

mgraph.h

Description

This function will clear the currently active display page viewport to the current background color. This is the fastest way to clear a rectangular viewport, but you may also wish to use the MGL_fillRect routine to fill with an arbitrary pattern instead, as this function always clears the viewport to the solid background color.

See Also

MGL_clearDevice, MGL_fillRect

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