Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (26 loc) · 886 Bytes

File metadata and controls

40 lines (26 loc) · 886 Bytes

NAME

ClearEOL -- Clear from current position to end of line.

SYNOPSIS

    ClearEOL(rp)
             A1

    void ClearEOL(struct RastPort *);

Links: RastPort

FUNCTION

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.

INPUTS

rp - pointer to RastPort structure

RESULT

NOTES o This function may use the blitter.

SEE ALSO

Text ClearScreen SetRast graphics/text.h graphics/rastport.h