インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス

CLEARSCREEN (W*S)

Graphics Subroutine: Erases the target area and fills it with the current background color.

Module

USE IFQWIN

CALL CLEARSCREEN (area)

area

(Input) INTEGER(4). Identifies the target area. Must be one of the following symbolic constants (defined in IFQWIN.F90):

  • $GCLEARSCREEN - Clears the entire screen.

  • $GVIEWPORT - Clears only the current viewport.

  • $GWINDOW - Clears only the current text window (set with SETTEXTWINDOW).

All pixels in the target area are set to the color specified with SETBKCOLORRGB. The default color is black.

Example


USE IFQWIN
CALL CLEARSCREEN($GCLEARSCREEN)

See Also