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

ClearEOL

Clear from current position to end of line.

Declaration

Source position: agraphics.pas line 2300

procedure ClearEOL(

  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. The height of the swath is taken from that of the current text font, and the vertical positioning of the swath is adjusted by the text baseline, such that text output at this position would lie wholly on this newly cleared area. 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

GfxText

  

Write text characters (no formatting).

ClearScreen

  

Clear from current position to end of RastPort.

SetRast

  

Set an entire drawing area to a specified color.


Documentation generated on: 2021-07-30