[Contents] [index] [Help] [Retrace] [browse <] [Browse >]

You can preset a whole raster to a single color by using the function
setrast(). a call to this function takes the following form:

    SetRast(&rastPort, pen);

As always, the &rastPort is a pointer to the rastport you wish to use.
Set the pen argument to the color register you want to fill the RastPort
with.