Docs » Autodocs » graphics.library » ClearEOL
ClearEOL -- Clear from current position to end of line.
ClearEOL(rp) A1 void ClearEOL(struct RastPort *);
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.
rp - pointer to RastPort structure
o This function may use the blitter.
Text(), ClearScreen(), SetRast(), <graphics/text.h>, <graphics/rastport.h>
|