GrClearWindow()

Name

GrClearWindow() -- Clear a window

Synopsis

void GrClearWindow ( GR_WINDOW_ID wid , GR_BOOL exposeflag );

Description

This function clears the specified window by setting it to its background color. If the exposeflag parameter is non-zero, an exposure event is sent to the window after it has been cleared.

Parameters

TypeNameDescription
GR_WINDOW_IDwidThe ID of the window to clear.
GR_BOOLexposeflagIf non-zero an exposure event will be sent to the window after it has been cleared.

See Also

GrSetWindowBackgroundColor(), GrNewWindow().