[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


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

SYNOPSIS
    ClearEOL(rp)
             A1

    void ClearEOL(struct 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