Skip to content

ClearViewPort

Clear the current viewport

Declaration

Source position: graphh.inc line 660

var
  ClearViewPort : clrviewproc;

Description

Clears the current viewport. The current background color is used as filling color. The pointer is set at (0,0).

Errors

None.

See also

Name Description
ClearDevice Clear the complete screen
clrviewproc Standard clearviewport routine prototype
SetBkColor Set background drawing color
SetViewPort Set the graphical drawing window