Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

ClearScreen

Clear from current position to end of RastPort.

Declaration

Source position: agraphics.pas line 2301

procedure ClearScreen(

  Rp: PRastPort

);

Arguments

Rp

  

A pointer to RastPort structure

Description

Clear a rectangular swath from the current position to the right edge of the rastPort with ClearEOL(), then clear the rest of the screen from just beneath the swath to the bottom of the rastPort. Clearing consists of setting the color of the swath to zero, or, if the DrawMode is 2, to the BgPen. This function may use the blitter.

See also

ClearEOL

  

Clear from current position to end of line.

GfxText

  

Write text characters (no formatting).

SetRast

  

Set an entire drawing area to a specified color.


Documentation generated on: 2021-07-30