Skip to content

ClearViewPort

Clear the current viewport.

Declaration

Source position: graphh.inc line 660

var
  ClearViewPort: clrviewproc = procedure;

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.
SetViewPort Set the graphical drawing window.
SetBkColor Set background drawing color.