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