Docs » Autodocs » graphics.library » SetRast
SetRast - Set an entire drawing area to a specified color.
SetRast( rp, pen ) a1 d0 void SetRast( struct RastPort *, UBYTE );
Set the entire contents of the specified RastPort to the specified pen.
rp - pointer to RastPort structure pen - the pen number (0-255) to jam into bitmap
All pixels within the drawing area are set to the selected pen number.
RectFill(), <graphics/rastport.h>
|