#include "worgen.h"
FUNCTION c_pxfill (tobuf, dtype, ns, fillval);
unsigned char *tobuf; long *dtype; long *ns; unsigned char *fillval;
The buffer to be filled with fillval.
An integer representing the data type of the fill value. Legal values include the following:
= EBYTE(1): unsigned byte data = EWORD(2): signed two byte data = ELONG(3): signed four byte data = EREAL(4): four byte floating point data
The number of elements or pixels to be filled.
The fill value for the buffer. The fill value must be the same data type as the buffer.
The c_pxfill() call is used to fill ns pixels of buffer tobuf with constant value fillval of type dtype.
c_pxfill() has no return values.